summaryrefslogtreecommitdiff
path: root/common/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/mem.c')
-rw-r--r--common/mem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/mem.c b/common/mem.c
index 8d7ed1e..f9543b7 100644
--- a/common/mem.c
+++ b/common/mem.c
@@ -22,9 +22,9 @@
#include <string.h>
#ifndef MALLOC_ERROR
-#define MALLOC_ERROR(format, ...) SPICE_STMT_START { \
- spice_error(format, ## __VA_ARGS__); \
- abort(); \
+#define MALLOC_ERROR(...) SPICE_STMT_START { \
+ spice_error(__VA_ARGS__); \
+ abort(); \
} SPICE_STMT_END
#endif