From cdbeeb9b17cc1ce0caa03b77d506be5706cca398 Mon Sep 17 00:00:00 2001 From: Stefan Gehn Date: Wed, 22 Feb 2012 19:41:29 +0100 Subject: [PATCH] Fix syslog function call (missing format string) Add proper format-string to call to syslog() function. Fixes Debian Bug #646262 --- server/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.c b/server/main.c index c26bdff..a5a9e4e 100644 --- a/server/main.c +++ b/server/main.c @@ -187,7 +187,7 @@ static void gkrellmd_syslog_log(GLogLevelFlags log_level, const gchar *message) if (log_level & G_LOG_LEVEL_CRITICAL) facility_priority = LOG_MAKEPRI(LOG_DAEMON, LOG_CRIT); - syslog(facility_priority, message); + syslog(facility_priority, "%s", message); #endif // defined(WIN32) } // gkrellmd_syslog_log()