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 38f7d3a..cf903af 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) {