summaryrefslogtreecommitdiff
path: root/busybox/sysklogd/syslogd.c
diff options
context:
space:
mode:
authorRob Landley2005-08-13 00:26:01 +0000
committerRob Landley2005-08-13 00:26:01 +0000
commitfc455b2101edbf97331384831de2989ce9cdb731 (patch)
tree521f09b4ca5cb42280e51c7618930ea4f0e68dfb /busybox/sysklogd/syslogd.c
parent365a345e92c25c60c977aa1596e31a1e6b9cea80 (diff)
downloadbusybox-fc455b2101edbf97331384831de2989ce9cdb731.zip
busybox-fc455b2101edbf97331384831de2989ce9cdb731.tar.gz
1.0 backports of:
10861, 10875, 10881, 10888 ash fix 10865 suid thing? (look at this) 10886 telnet bugfix 10866 ftp fix for RFC 959 compliance. 10867 Remove spurious newline from cp -i prompt. 10874 ksyslogd fix 10876 msh fix 10877 httpd fix 10880, 10889, 11005 dhcp fixes
Diffstat (limited to 'busybox/sysklogd/syslogd.c')
-rw-r--r--busybox/sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/busybox/sysklogd/syslogd.c b/busybox/sysklogd/syslogd.c
index 8c6c44e..aecd35d 100644
--- a/busybox/sysklogd/syslogd.c
+++ b/busybox/sysklogd/syslogd.c
@@ -441,7 +441,7 @@ static void logMessage(int pri, char *msg)
/* if we have a valid socket, send the message */
if (-1 != remotefd) {
now = 1;
- snprintf(line, sizeof(line), "<%d> %s", pri, msg);
+ snprintf(line, sizeof(line), "<%d>%s", pri, msg);
retry:
/* send message to remote logger */