Date: Wed, 17 Dec 2008 16:55:58 +0000 (UTC) From: "David E. O'Brien" <obrien@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186236 - head/usr.sbin/syslogd Message-ID: <200812171655.mBHGtwkr009529@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812171655.mBHGtwkr009529>