X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Flog.c;fp=utils%2Fstatd%2Flog.c;h=cf903af47e4965260fb849662a7275679b53b6f8;hp=38f7d3a2b8ee41fe70bc44aae4284e792a588c49;hb=6562d12e10021ed336d6a97009646ebe5c09b725;hpb=ae49af676494d288b872ee314af7cb632d211d7a 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) {