mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 09:06:32 +00:00
debug信息会输出行号和文件名
This commit is contained in:
@ -32,7 +32,7 @@
|
||||
#define kdebug(...) \
|
||||
do \
|
||||
{ \
|
||||
printk("[ DEBUG ] "); \
|
||||
printk("[ DEBUG ] (%s:%d)\t", __FILE__, __LINE__); \
|
||||
printk(__VA_ARGS__); \
|
||||
printk("\n"); \
|
||||
} while (0);
|
||||
|
Reference in New Issue
Block a user