Don't skip the <PRI> field in the call to wallmsg()
This is redundant and causes message truncation. The <PRI> field is skipped within wallmsg() itself. Signed-off-by: Edward K. McGuire <metaed@gmail.com> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
5b48dac64e
commit
4f24bce339
@ -1857,7 +1857,7 @@ void fprintlog_write(struct filed *f, struct iovec *iov, int iovcnt, int flags)
|
|||||||
f->f_time = timer_now();
|
f->f_time = timer_now();
|
||||||
logit("\n");
|
logit("\n");
|
||||||
pushiov(iov, iovcnt, "\r\n");
|
pushiov(iov, iovcnt, "\r\n");
|
||||||
wallmsg(f, &iov[1], iovcnt - 1);
|
wallmsg(f, &iov[0], iovcnt);
|
||||||
break;
|
break;
|
||||||
} /* switch */
|
} /* switch */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user