summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.c b/lib/log.c
index 9c676428..88e1dbf0 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -106,7 +106,7 @@ vzlog (struct zlog *zl, int priority, const char *format, va_list *args)
/* Syslog output */
if (zl->flags & ZLOG_SYSLOG)
- vsyslog (priority, format, args[ZLOG_SYSLOG_INDEX]);
+ vsyslog (priority|zlog_default->facility, format, args[ZLOG_SYSLOG_INDEX]);
/* File output. */
if (zl->flags & ZLOG_FILE)