OSDN Git Service

Fix a bug noticed by Oleg I. Vdovikin, oleg at cs dot msu dot su.
authorEric Andersen <andersen@codepoet.org>
Tue, 6 Apr 2004 12:19:22 +0000 (12:19 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 6 Apr 2004 12:19:22 +0000 (12:19 -0000)
commit7cea35ec0b87c8125f3ae29f0abbd737498e28e5
treef823298d110e1273ff551e489d83757f2b9bfce5
parente4dfc35259023779840b3c2263c52e92187a2f90
Fix a bug noticed by Oleg I. Vdovikin, oleg at cs dot msu dot su.
This code in uClibc would attempt to set the default facility if
none was specified.  Except none being specified is 0, which is
also LOG_KERN, therefore klogd could never get kernel messages
logged as LOG_KERN.
libc/misc/syslog/syslog.c