mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
a196fa78a2
Per the kmsg document [0], if we don't specify the log level with a
prefix "<N>" in the message string, the default log level will be
applied to the message. Since the default level could be warning(4),
this would make the log utility such as journalctl treat the message,
"Started bpfilter", as a warning. To avoid confusion, this commit
adds the prefix "<5>" to make the message always a notice.
[0] https://www.kernel.org/doc/Documentation/ABI/testing/dev-kmsg
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
bpfilter_kern.c | ||
bpfilter_umh_blob.S | ||
Kconfig | ||
main.c | ||
Makefile | ||
msgfmt.h |