Subject: CVS commit: [thorpej-syslogd-hack-branch] src/usr.sbin/syslogd
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 11/17/2004 03:08:15
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.