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:
parent
207a0519ac
commit
cdbeeb9b17
|
@ -187,7 +187,7 @@ static void gkrellmd_syslog_log(GLogLevelFlags log_level, const gchar *message)
|
||||||
if (log_level & G_LOG_LEVEL_CRITICAL)
|
if (log_level & G_LOG_LEVEL_CRITICAL)
|
||||||
facility_priority = LOG_MAKEPRI(LOG_DAEMON, LOG_CRIT);
|
facility_priority = LOG_MAKEPRI(LOG_DAEMON, LOG_CRIT);
|
||||||
|
|
||||||
syslog(facility_priority, message);
|
syslog(facility_priority, "%s", message);
|
||||||
#endif // defined(WIN32)
|
#endif // defined(WIN32)
|
||||||
} // gkrellmd_syslog_log()
|
} // gkrellmd_syslog_log()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue