projects
/
project
/
ubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
907d046
)
fix gcc format security error
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 22 Nov 2015 14:45:27 +0000
(15:45 +0100)
committer
John Crispin
<blogic@openwrt.org>
Sun, 22 Nov 2015 15:37:39 +0000
(16:37 +0100)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
log/syslog.c
patch
|
blob
|
history
diff --git
a/log/syslog.c
b/log/syslog.c
index a596b487af4c46458424b5478917857da8fb686f..e8b6774afd31080c107ae7c8277b2700efb5d7cf 100644
(file)
--- 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;
}