aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-02-13 09:28:21 +1000
committerteor <teor@torproject.org>2020-02-13 09:28:21 +1000
commite849881d3ad80e46bc4297d2cf9651f3f7d039cc (patch)
tree18e41883b132bf7a87db744780b9c1cfb122a46a
parent4f533ed28b831eb794f562dac9add1dbf37f6335 (diff)
downloadtor-e849881d3ad80e46bc4297d2cf9651f3f7d039cc.tar.gz
tor-e849881d3ad80e46bc4297d2cf9651f3f7d039cc.zip
Run "make autostyle"
But only take the changes that were caused by the rest of the 33087 branch. Part of 33087.
-rw-r--r--src/lib/err/torerr.c2
-rw-r--r--src/lib/log/log.c2
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