diff --git a/src/syslogd.c b/src/syslogd.c index 2426fa1..8f51371 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -1857,7 +1857,7 @@ void fprintlog_write(struct filed *f, struct iovec *iov, int iovcnt, int flags) f->f_time = timer_now(); logit("\n"); pushiov(iov, iovcnt, "\r\n"); - wallmsg(f, &iov[1], iovcnt - 1); + wallmsg(f, &iov[0], iovcnt); break; } /* switch */