From 6562d12e10021ed336d6a97009646ebe5c09b725 Mon Sep 17 00:00:00 2001 From: chip Date: Thu, 29 Jun 2000 06:08:17 +0000 Subject: [PATCH] Call syslog with "%s" as format. --- utils/statd/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/statd/log.c b/utils/statd/log.c index 38f7d3a..cf903af 100644 --- a/utils/statd/log.c +++ b/utils/statd/log.c @@ -90,7 +90,7 @@ log(int level, char *fmt, ...) buffer[1023]=0; if (level < L_DEBUG) { - syslog(level, buffer); + syslog(level, "%s", buffer); } if (opt_debug) { -- 2.39.5