summaryrefslogtreecommitdiffstats
path: root/sys/i4b/include/i4b_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i4b/include/i4b_debug.h')
-rw-r--r--sys/i4b/include/i4b_debug.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i4b/include/i4b_debug.h b/sys/i4b/include/i4b_debug.h
index d9380f7..084623a 100644
--- a/sys/i4b/include/i4b_debug.h
+++ b/sys/i4b/include/i4b_debug.h
@@ -51,19 +51,19 @@ extern unsigned int i4b_l4_debug;
#define NDBGL1(bits, fmt, args...) \
if(bits & i4b_l1_debug) \
- { printf("i4b-L1 %s: " fmt "\n", __FUNCTION__ , ##args ); }
+ { printf("i4b-L1 %s: " fmt "\n", __func__ , ##args ); }
#define NDBGL2(bits, fmt, args...) \
if(bits & i4b_l2_debug) \
- { printf("i4b-L2 %s: " fmt "\n", __FUNCTION__ , ##args ); }
+ { printf("i4b-L2 %s: " fmt "\n", __func__ , ##args ); }
#define NDBGL3(bits, fmt, args...) \
if(bits & i4b_l3_debug) \
- { printf("i4b-L3 %s: " fmt "\n", __FUNCTION__ , ##args ); }
+ { printf("i4b-L3 %s: " fmt "\n", __func__ , ##args ); }
#define NDBGL4(bits, fmt, args...) \
if(bits & i4b_l4_debug) \
- { printf("i4b-L4 %s: " fmt "\n", __FUNCTION__ , ##args ); }
+ { printf("i4b-L4 %s: " fmt "\n", __func__ , ##args ); }
#else /* !DO_I4B_DEBUG */
OpenPOWER on IntegriCloud