diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-18 13:53:23 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-18 13:53:23 +0100 |
commit | 7a9cbcd88b6cf3c0cbee6d4f76c2adaedc54058d (patch) | |
tree | 52dc941c4f25e03f919af117e40b70c64d2ec161 | |
parent | e0d53880a4f12d2f7f1b134ca1abcc9a6a2bb9e5 (diff) | |
download | unitd-7a9cbcd88b6cf3c0cbee6d4f76c2adaedc54058d.tar unitd-7a9cbcd88b6cf3c0cbee6d4f76c2adaedc54058d.zip |
rcS: fix a format string bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | rcS.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |