Use passed parameter rather than the #define.
(more accurate extraction of Juniper Networks change)
This commit is contained in:
parent
a3ac8c94cf
commit
58a841efc2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186236
@ -1372,8 +1372,8 @@ wallmsg(struct filed *f, struct iovec *iov, const int iovlen)
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user