aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGravatar Paul Fox <pgf@brightstareng.com>2005-07-20 18:02:11 +0000
committerGravatar Paul Fox <pgf@brightstareng.com>2005-07-20 18:02:11 +0000
commit27cbffddd86f1845249b25f30325c92f1b8bdfc1 (patch)
tree505591da0b8a48953073e578889aaf5917f84618 /sysklogd
parent18433aadf67871ede7000cdacf4c05c544059732 (diff)
downloadbusybox-27cbffddd86f1845249b25f30325c92f1b8bdfc1.tar.gz
busybox-27cbffddd86f1845249b25f30325c92f1b8bdfc1.tar.bz2
applying fix for:
0000143: sysklogd remote logging adds a space between facility and tag
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 8c6c44ee0..aecd35d58 100644
--- a/sysklogd/syslogd.c
+++ b/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 */