summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgcompat/internal.h b/libgcompat/internal.h
index bb107bc..3b08271 100644
--- a/libgcompat/internal.h
+++ b/libgcompat/internal.h
@@ -3,10 +3,10 @@
void GCOMPAT__panic(const char *fmt, ...) __attribute__((noreturn));
-#define GCOMPAT__assert_with_reason(chk, fmt, ...) \
+#define GCOMPAT__assert_with_reason(chk, ...) \
do { \
if (!(chk)) { \
- GCOMPAT__panic(fmt, __VA_ARGS__); \
+ GCOMPAT__panic(__VA_ARGS__); \
} \
} \
while(0);