Use a define for the iov array size in syslogd. This is better
authorbluhm <bluhm@openbsd.org>
Fri, 3 Sep 2021 16:28:33 +0000 (16:28 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 3 Sep 2021 16:28:33 +0000 (16:28 +0000)
commite4c12d7a863e1916b1a171487174679e25ab965c
tree4a1465f8a86a7775a03c210b84d65ffa5ce8fb55
parentab29ea966281b9858a45bf031eac47d2ab1cd59c
Use a define for the iov array size in syslogd.  This is better
than passing the magic number 6 around and checking at runtime
whether its fits.
OK deraadt@ martijn@ mvs@
usr.sbin/syslogd/syslogd.c
usr.sbin/syslogd/syslogd.h
usr.sbin/syslogd/ttymsg.c