Date: Sat, 29 May 2004 16:24:18 -0700 (PDT) From: David Malone <dwmalone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/syslogd syslogd.c Message-ID: <200405292324.i4TNOI1U050342@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2004/05/29 16:24:18 PDT
FreeBSD src repository
Modified files:
usr.sbin/syslogd syslogd.c
Log:
Fix some bugs that don't manifest themselves in practice.
1) Don't check for getopt returning '?', we have a default case.
2) Check if the priority is LOG_KERN correctly - in practice
LOG_KERN is 0, so it makes no difference. OpenBSD fixed a
different nearby bug that we don't have 'cos our definition
of LOG_MAKEPRI is different to OpenBSD's.
Copy a comment from OpenBSD, observing that LOG_KERN is 0.
Inspired by PR: 67139
Revision Changes Path
1.123 +6 -3 src/usr.sbin/syslogd/syslogd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405292324.i4TNOI1U050342>
