. Started with CHANGES file

. Skip newline when reading in klog messages
This commit is contained in:
Joey Schulze
1999-08-21 10:28:44 +00:00
parent 263b17247e
commit 8440db2b28
3 changed files with 8 additions and 2 deletions

View File

@ -103,7 +103,7 @@ vsyslog(pri, fmt, ap)
if (!LOG_MASK(LOG_PRI(pri)) || (pri &~ (LOG_PRIMASK|LOG_FACMASK)))
return;
if (LogFile < 0 || !connected)
openlog(LogTag, LogStat | LOG_NDELAY, 0);
openlog(LogTag, LogStat | LOG_NDELAY, LogFacility);
/* set default facility if none specified */
if ((pri & LOG_FACMASK) == 0)