mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 21:43:34 +00:00
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:
parent
f590526d0a
commit
8bc588fa15
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72009
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user