From 7a9cbcd88b6cf3c0cbee6d4f76c2adaedc54058d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 18 Mar 2014 13:53:23 +0100 Subject: [PATCH] rcS: fix a format string bug Signed-off-by: Felix Fietkau --- rcS.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.25.1