Fix syslog function call (missing format string)

Add proper format-string to call to syslog() function.

Fixes Debian Bug #646262
This commit is contained in:
Stefan Gehn 2012-02-22 19:41:29 +01:00
parent 207a0519ac
commit cdbeeb9b17
1 changed files with 1 additions and 1 deletions

View File

@ -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()