debug: prefer use of the standard __func__ symbol
This commit is contained in:
parent
c8d8067af2
commit
9270a05a8b
@ -59,7 +59,7 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
#define _CHECK_PANIC(FMT,...) do { \
|
#define _CHECK_PANIC(FMT,...) do { \
|
||||||
panic ("%s:%s:%i:%s\n" FMT, \
|
panic ("%s:%s:%i:%s\n" FMT, \
|
||||||
PACKAGE, __FILE__, __LINE__, __FUNCTION__, \
|
PACKAGE, __FILE__, __LINE__, __func__, \
|
||||||
__VA_ARGS__); \
|
__VA_ARGS__); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user