summaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 8c6c44e..aecd35d 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 */