This seems to stop syslog console messages looping. The problem

is that LOG_FAC doesn't do quite what you think it does.

PR:		24704
This commit is contained in:
dwmalone 2001-02-04 15:16:08 +00:00
parent 48b4ca8e6a
commit 72311a2dd2

View File

@ -710,7 +710,7 @@ printsys(p)
pri = 10 * pri + (*p - '0');
if (*p == '>')
++p;
if (LOG_FAC(pri) == LOG_CONSOLE)
if ((pri & LOG_FACMASK) == LOG_CONSOLE)
flags |= IGN_CONS;
} else {
/* kernel printf's come out on console */