Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [thorpej-syslogd-hack-branch] src/usr.sbin/syslogd



Module Name:    src
Committed By:   thorpej
Date:           Wed Nov 17 03:08:15 UTC 2004

Modified Files:
        src/usr.sbin/syslogd [thorpej-syslogd-hack-branch]: syslogd.c

Log Message:
Fix an error in printline(): LOG_FAC() generates an index into the
facilities name array, and is not suitable for comparing to an
actual facility value; mask with LOG_FACMASK instead.  Also make a
note that since LOG_KERN is 0, the check for this will also match
log messages that have no specified facility.

>From FreeBSD.


To generate a diff of this commit:
cvs rdiff -r1.69.2.18 -r1.69.2.19 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index