]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Call syslog with "%s" as format.
authorchip <chip>
Thu, 29 Jun 2000 06:08:17 +0000 (06:08 +0000)
committerchip <chip>
Thu, 29 Jun 2000 06:08:17 +0000 (06:08 +0000)
utils/statd/log.c

index 38f7d3a2b8ee41fe70bc44aae4284e792a588c49..cf903af47e4965260fb849662a7275679b53b6f8 100644 (file)
@@ -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) {