mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
util: Make pr_warning to report file and line as well
For easier debugging. We can zap it at release time. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
@@ -33,7 +33,7 @@ extern void printk(const char *format, ...);
|
||||
#define pr_info(fmt, ...) printk(fmt, ##__VA_ARGS__)
|
||||
#define pr_err(fmt, ...) printk("Error (%s:%d): " fmt, __FILE__, __LINE__, ##__VA_ARGS__)
|
||||
#define pr_panic(fmt, ...) printk("PANIC (%s:%d): " fmt, __FILE__, __LINE__, ##__VA_ARGS__)
|
||||
#define pr_warning(fmt, ...) printk("Warning: " fmt, ##__VA_ARGS__)
|
||||
#define pr_warning(fmt, ...) printk("Warning (%s:%d): " fmt, __FILE__, __LINE__, ##__VA_ARGS__)
|
||||
|
||||
#define pr_err_jmp(label) \
|
||||
do { \
|
||||
|
Reference in New Issue
Block a user