svn commit: r186236 - head/usr.sbin/syslogd
David E. O'Brien
obrien at FreeBSD.org
Wed Dec 17 16:55:58 UTC 2008
Author: obrien
Date: Wed Dec 17 16:55:58 2008
New Revision: 186236
URL: http://svn.freebsd.org/changeset/base/186236
Log:
Use passed parameter rather than the #define.
(more accurate extraction of Juniper Networks change)
Modified:
head/usr.sbin/syslogd/syslogd.c
Modified: head/usr.sbin/syslogd/syslogd.c
==============================================================================
--- head/usr.sbin/syslogd/syslogd.c Wed Dec 17 16:54:29 2008 (r186235)
+++ head/usr.sbin/syslogd/syslogd.c Wed Dec 17 16:55:58 2008 (r186236)
@@ -1372,8 +1372,8 @@ wallmsg(struct filed *f, struct iovec *i
break;
if (!strncmp(f->f_un.f_uname[i], ut.ut_name,
UT_NAMESIZE)) {
- if ((p = ttymsg(iov, IOV_SIZE, line,
- TTYMSGTIME)) != NULL) {
+ if ((p = ttymsg(iov, iovlen, line, TTYMSGTIME))
+ != NULL) {
errno = 0; /* already in msg */
logerror(p);
}
More information about the svn-src-all
mailing list