summaryrefslogtreecommitdiff
path: root/sys/kern/subr_mchain.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_mchain.c')
-rw-r--r--sys/kern/subr_mchain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_mchain.c b/sys/kern/subr_mchain.c
index 3020f56f9162..d78b37f00eb1 100644
--- a/sys/kern/subr_mchain.c
+++ b/sys/kern/subr_mchain.c
@@ -44,10 +44,10 @@
MODULE_VERSION(libmchain, 1);
-#define MBERROR(format, args...) printf("%s(%d): "format, __FUNCTION__ , \
+#define MBERROR(format, args...) printf("%s(%d): "format, __func__ , \
__LINE__ ,## args)
-#define MBPANIC(format, args...) printf("%s(%d): "format, __FUNCTION__ , \
+#define MBPANIC(format, args...) printf("%s(%d): "format, __func__ , \
__LINE__ ,## args)
/*