aboutsummaryrefslogtreecommitdiff
path: root/src/lib/log/log.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 09:37:21 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:24:25 -0400
commit9871fcbcd9e2c729c46570d6794d3ddcf37aeeb6 (patch)
treefc1ce3bda8a46cefd02dc08f6619ba83837102ab /src/lib/log/log.c
parent51c2097586dd6133a862985ab68ded85736d40e8 (diff)
downloadtor-9871fcbcd9e2c729c46570d6794d3ddcf37aeeb6.tar.gz
tor-9871fcbcd9e2c729c46570d6794d3ddcf37aeeb6.zip
Use #warning instead of #warn: one is C and one isn't.
Diffstat (limited to 'src/lib/log/log.c')
-rw-r--r--src/lib/log/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/log/log.c b/src/lib/log/log.c
index 56f016eae4..012e25193e 100644
--- a/src/lib/log/log.c
+++ b/src/lib/log/log.c
@@ -526,7 +526,7 @@ logfile_deliver(logfile_t *lf, const char *buf, size_t msg_len,
* pass them, and some very old ones do not detect overflow so well.
* Regrettably, they call their maximum line length MAXLINE. */
#if MAXLINE < 64
-#warn "MAXLINE is a very low number; it might not be from syslog.h after all"
+#warning "MAXLINE is a very low number; it might not be from syslog.h."
#endif
char *m = msg_after_prefix;
if (msg_len >= MAXLINE)