diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-22 15:45:27 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-11-22 16:37:39 +0100 |
commit | c086167a0154745c677f8730a336ea9cf7d71031 (patch) | |
tree | e15ac10ac3cb4526dadd16b8538837f2f13ef141 /log | |
parent | 907d046c8929fb74e5a3502a9498198695e62ad8 (diff) | |
download | ubox-c086167a0154745c677f8730a336ea9cf7d71031.tar.gz |
fix gcc format security error
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'log')
-rw-r--r-- | log/syslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |