aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand/stand.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libstand/stand.h')
-rw-r--r--lib/libstand/stand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h
index 219b2df46976..eba6a0ce6ab9 100644
--- a/lib/libstand/stand.h
+++ b/lib/libstand/stand.h
@@ -68,8 +68,8 @@
#include <sys/dirent.h>
#include <string.h>
-#define CHK(fmt, args...) printf("%s(%d): " fmt "\n", __FUNCTION__, __LINE__ , ##args)
-#define PCHK(fmt, args...) {printf("%s(%d): " fmt "\n", __FUNCTION__, __LINE__ , ##args); getchar();}
+#define CHK(fmt, args...) printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args)
+#define PCHK(fmt, args...) {printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args); getchar();}
#ifndef NULL
#define NULL 0