X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubox.git;a=blobdiff_plain;f=log%2Fsyslog.c;h=e8b6774afd31080c107ae7c8277b2700efb5d7cf;hp=a596b487af4c46458424b5478917857da8fb686f;hb=c086167a0154745c677f8730a336ea9cf7d71031;hpb=907d046c8929fb74e5a3502a9498198695e62ad8 diff --git a/log/syslog.c b/log/syslog.c index a596b48..e8b6774 100644 --- a/log/syslog.c +++ b/log/syslog.c @@ -66,7 +66,7 @@ log_add(char *buf, int size, int source) /* bounce out if we don't have init'ed yet (regmatch etc will blow) */ if (!log) { - fprintf(stderr, buf); + fprintf(stderr, "%s", buf); return; }