diff --git a/src/syslog.c b/src/syslog.c index 4b8b0f1..1510258 100644 --- a/src/syslog.c +++ b/src/syslog.c @@ -322,6 +322,7 @@ vsyslogp_r(int pri, struct syslog_data *data, const char *msgid, iov[iovcnt].iov_len = prlen; iovcnt++; } + prlen--; /* drop extra space for regular log messages */ DEC(); goto output; }