summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Dowad <alexinbeijing@gmail.com>2015-05-01 16:03:52 +0200
committerTimo Teräs <timo.teras@iki.fi>2015-05-01 17:06:52 +0300
commit7a4256f97fb251cecce2f7e3b92ceffee0957151 (patch)
tree1e849ed4917c5d1280dcc2a20a272439075be722 /src
parentbdb5a17e3570ee5bde564f894444125be16a233c (diff)
downloadsquark-7a4256f97fb251cecce2f7e3b92ceffee0957151.tar.bz2
squark-7a4256f97fb251cecce2f7e3b92ceffee0957151.tar.xz
all: avoid garbling status messages which are sent to syslog
Fixed bug introduced in eb5b69d.
Diffstat (limited to 'src')
-rw-r--r--src/reporting.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reporting.c b/src/reporting.c
index 329d850..4be6e1b 100644
--- a/src/reporting.c
+++ b/src/reporting.c
@@ -35,7 +35,7 @@ void report_message(int level, const char *format, ...)
va_start(args, format);
if(syslog_flag || level == REPORT_ALERT) {
- syslog(LOG_USER | log_levels[level], format, args);
+ vsyslog(LOG_USER | log_levels[level], format, args);
/* va_list can only be used once */
va_end(args);
va_start(args, format);