[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/fence/fenced agent.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rmccabe sourceware org	2007-10-26 18:46:16

Modified files:
	fence/fenced   : agent.c 

Log message:
	Fix format string bug

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/fenced/agent.c.diff?cvsroot=cluster&r1=1.17&r2=1.18

--- cluster/fence/fenced/agent.c	2007/10/09 22:14:44	1.17
+++ cluster/fence/fenced/agent.c	2007/10/26 18:46:16	1.18
@@ -50,7 +50,7 @@
 		strcat(msg, buf);
 
 		printf("%s\n", msg);
-		syslog(LOG_ERR, msg);
+		syslog(LOG_ERR, "%s", msg);
 
 		memset(buf, 0, sizeof(buf));
 		memset(msg, 0, sizeof(msg));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]