From: Vsevolod Stakhov Date: Wed, 2 Sep 2015 16:12:07 +0000 (+0100) Subject: Fix syslog id output. X-Git-Tag: 1.0.0~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43f616861d85a692d487c9387d6eb1b15b329f39;p=thirdparty%2Frspamd.git Fix syslog id output. --- diff --git a/src/libutil/logger.c b/src/libutil/logger.c index 18b4b8d51e..9ac2628ab9 100644 --- a/src/libutil/logger.c +++ b/src/libutil/logger.c @@ -573,7 +573,7 @@ syslog_log_function (const gchar *log_domain, } } - syslog (syslog_level, "<%*.s>; %s; %s: %s", + syslog (syslog_level, "<%.*s>; %s; %s: %s", LOG_ID, id != NULL ? id : "", module != NULL ? module : "", function != NULL ? function : "",