LinuxKPI: add pr_err_once
Reviewed by: hselasky, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30672
This commit is contained in:
parent
35b8fd0b69
commit
05c2d94a08
@ -251,6 +251,8 @@ extern int linuxkpi_debug;
|
||||
log(LOG_CRIT, pr_fmt(fmt), ##__VA_ARGS__)
|
||||
#define pr_err(fmt, ...) \
|
||||
log(LOG_ERR, pr_fmt(fmt), ##__VA_ARGS__)
|
||||
#define pr_err_once(fmt, ...) \
|
||||
log_once(LOG_ERR, pr_fmt(fmt), ##__VA_ARGS__)
|
||||
#define pr_warning(fmt, ...) \
|
||||
log(LOG_WARNING, pr_fmt(fmt), ##__VA_ARGS__)
|
||||
#define pr_warn(...) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user