summaryrefslogblamecommitdiff
path: root/news/slurp/files/patch-misc.c
blob: bb4de48e9238ba6f7c34fd8a5c82afc37e2de573 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                      
--- misc.c.orig	Tue Feb  7 06:32:01 1995
+++ misc.c	Wed Jun  5 06:12:43 2002
@@ -108,7 +108,7 @@
 	(void) strcat (buf, "\n");
 #ifdef SYSLOG
 		if (!debug_flag)
-			syslog (LOG_ERR, buf);
+			syslog (LOG_ERR, "%s", buf);
 		else
 #endif
 			(void) fprintf (stderr, "%s: %s", pname, buf);