aboutsummaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-04-28 12:43:17 +0000
committerOmar Polo <op@omarpolo.com>2021-04-28 12:43:17 +0000
commite6ca8eb1561ade7484a0249ffd1234cdf94e2562 (patch)
tree69e25cc6a204c67df6e823ce091324b0888a077b /log.c
parent419a4235208ba879e00b9a7c6065485e8e990814 (diff)
lower log priority for fatal errors from CRIT to ERR
found by Anna, thanks!
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index d41c9e3..c86f0e0 100644
--- a/log.c
+++ b/log.c
@@ -65,7 +65,7 @@ fatal(const char *fmt, ...)
vfprintf(stderr, fmt, ap);
fprintf(stderr, "\n");
} else
- vsyslog(LOG_DAEMON | LOG_CRIT, fmt, ap);
+ vsyslog(LOG_DAEMON | LOG_ERR, fmt, ap);
va_end(ap);
exit(1);