Commit 0f5705b0 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Andrei Vagin

log: pr_warn_once -- Fix formatting

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent a80f1da9
...@@ -61,7 +61,9 @@ extern void print_on_level(unsigned int loglevel, const char *format, ...) ...@@ -61,7 +61,9 @@ extern void print_on_level(unsigned int loglevel, const char *format, ...)
__FILE__, __LINE__, ##__VA_ARGS__) __FILE__, __LINE__, ##__VA_ARGS__)
#define pr_warn_once(fmt, ...) \ #define pr_warn_once(fmt, ...) \
print_once(LOG_WARN, fmt, ##__VA_ARGS__) print_once(LOG_WARN, \
"Warn (%s:%d): " LOG_PREFIX fmt, \
__FILE__, __LINE__, ##__VA_ARGS__)
#define pr_debug(fmt, ...) \ #define pr_debug(fmt, ...) \
print_on_level(LOG_DEBUG, \ print_on_level(LOG_DEBUG, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment