You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/gkrellm/files/gkrellm-2.3.5-format-securi...

13 lines
503 B

diff -up gkrellm-2.3.5/server/main.c~ gkrellm-2.3.5/server/main.c
--- gkrellm-2.3.5/server/main.c~ 2010-10-02 19:13:29.000000000 +0300
+++ gkrellm-2.3.5/server/main.c 2013-12-06 22:56:38.690534043 +0200
@@ -187,7 +187,7 @@ static void gkrellmd_syslog_log(GLogLeve
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()