diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/err/torerr.c | 2 | ||||
-rw-r--r-- | src/lib/log/log.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/err/torerr.c b/src/lib/err/torerr.c index c2dd862e11..2de75c0be4 100644 --- a/src/lib/err/torerr.c +++ b/src/lib/err/torerr.c @@ -171,7 +171,7 @@ tor_log_flush_sigsafe_err_fds(void) * take any other action, if fsync() fails. */ (void)fsync(fds[i]); } -#endif +#endif /* defined(HAVE_FSYNC) */ } /** diff --git a/src/lib/log/log.c b/src/lib/log/log.c index cfb8f5b423..eb81515746 100644 --- a/src/lib/log/log.c +++ b/src/lib/log/log.c @@ -844,7 +844,7 @@ logs_flush_sigsafe(void) (void)fsync(victim->fd); } } -#endif +#endif /* defined(HAVE_FSYNC) */ } /** Remove and free the log entry <b>victim</b> from the linked-list |