diff options
author | iedowse <iedowse@FreeBSD.org> | 2004-01-26 00:46:46 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2004-01-26 00:46:46 +0000 |
commit | 5c3a320f7bc55fbee840d0c6ff22136bfcda9c80 (patch) | |
tree | ed870542c76896b525b926dba8de9d4a48e9a5df /usr.sbin/ctm | |
parent | 507ddae3aa5dc64a575ea9aeadcd62dca43ba515 (diff) | |
download | FreeBSD-src-5c3a320f7bc55fbee840d0c6ff22136bfcda9c80.zip FreeBSD-src-5c3a320f7bc55fbee840d0c6ff22136bfcda9c80.tar.gz |
Be much more strict about parsing tagged log messages from /dev/klog;
if the line doesn't match ^<%d>, then treat it as a regular kernel
printf line. Previously if a kernel printf message started with "<"
it would be interpreted as a log message, often with LOG_EMERG
level. This was triggered by some printfs in sys/dev/aic7xxx/, and
can also happen with the partial lines that result if syslogd cannot
keep up with the rate of arrival of kernel messages.
Reviewed by: dwmalone
MFC after: 1 week
Diffstat (limited to 'usr.sbin/ctm')
0 files changed, 0 insertions, 0 deletions