summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 */