Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release-src > by-pkgid > 30481cc1ce5b90273dfd25fd8fbc31bc > files > 1

linux_pcnfsd2-1.6-2.mga6.src.rpm

--- linux_pcnfsd2/pcnfsd_svc.c.FMT	2016-06-21 11:46:54.742581886 +0300
+++ linux_pcnfsd2/pcnfsd_svc.c	2016-06-21 11:47:27.779342021 +0300
@@ -390,11 +390,11 @@
 {
 #ifdef RPC_SVC_FG
 	if (_rpcpmstart)
-		syslog(LOG_ERR, msg);
+		syslog(LOG_ERR, "%s", msg);
 	else
 		(void) fprintf(stderr, "%s\n", msg);
 #else
-	syslog(LOG_ERR, msg);
+	syslog(LOG_ERR, "%s", msg);
 #endif
 	return(0);
 }