]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r314233:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 Mar 2017 04:55:02 +0000 (04:55 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 Mar 2017 04:55:02 +0000 (04:55 +0000)
commit1ab1a75235bce5412310b44b9c588a7ccf3b5898
tree5266b8c0d050c4a97af8767cea3c7dd31427cdc0
parentaf1f0b2741a542f4cd27dd8c8912a15d7048f50f
MFC r314233:

Parameterize out the length of struct filed->f_lasttime as `MAXDATELEN`

This removes the hardcoded value for the field (16) and the equivalent
hardcoded lengths in logmsg(..).

This change is being done to help stage future work to add RFC5424/RFC5434
support to syslogd(8).

Obtained from: Isilon OneFS (dcd33d13da) (as part of a larger change)

git-svn-id: svn://svn.freebsd.org/base/stable/10@315124 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/syslogd/syslogd.c