From: Felix Fietkau Date: Tue, 18 Mar 2014 12:53:23 +0000 (+0100) Subject: rcS: fix a format string bug X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7a9cbcd88b6cf3c0cbee6d4f76c2adaedc54058d;p=project%2Fprocd.git rcS: fix a format string bug Signed-off-by: Felix Fietkau --- diff --git a/rcS.c b/rcS.c index eb1c467..0e1b0ba 100644 --- a/rcS.c +++ b/rcS.c @@ -54,7 +54,7 @@ static void pipe_cb(struct ustream *s, int bytes) break; *newline = 0; len = newline + 1 - str; - syslog(0, str); + syslog(0, "%s", str); ustream_consume(s, len); } while (1); }