aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-02 17:12:07 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-02 17:12:07 +0100
commit43f616861d85a692d487c9387d6eb1b15b329f39 (patch)
treecba3dfc7560f7519f606f81f543a6910d9f9d855 /src/libutil
parent8b06b8d37c60864fe6c2301c8c2dff29ad8d7ace (diff)
downloadrspamd-43f616861d85a692d487c9387d6eb1b15b329f39.tar.gz
rspamd-43f616861d85a692d487c9387d6eb1b15b329f39.zip
Fix syslog id output.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/logger.c b/src/libutil/logger.c
index 18b4b8d51..9ac2628ab 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 : "",