From: chip Date: Thu, 29 Jun 2000 06:08:17 +0000 (+0000) Subject: Call syslog with "%s" as format. X-Git-Tag: nfs-utils-0-1-9~5 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=6562d12e10021ed336d6a97009646ebe5c09b725;p=nfs-utils.git Call syslog with "%s" as format. --- 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) {