projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12de6cf
)
Part of patch from William Barsse, fixes a problem with unescaped %.
author
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 6 Aug 2004 00:58:53 +0000
(
00:58
-0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 6 Aug 2004 00:58:53 +0000
(
00:58
-0000)
sysklogd/klogd.c
patch
|
blob
|
history
diff --git
a/sysklogd/klogd.c
b/sysklogd/klogd.c
index 94376fe52f9cb1f3a9af1d713569700164a7b584..c908b593c717e55d6e3e9484c5178e3fea648067 100644
(file)
--- a/
sysklogd/klogd.c
+++ b/
sysklogd/klogd.c
@@
-104,7
+104,7
@@
static void doKlogd(const int console_log_level)
}
if (log_buffer[i] == '\n') {
log_buffer[i] = '\0'; /* zero terminate this message */
- syslog(priority, start);
+ syslog(priority,
"%s",
start);
start = &log_buffer[i + 1];
priority = LOG_INFO;
}