aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h
index 661c299..004a78c 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -32,7 +32,7 @@ extern pthread_mutex_t strerror_lock;
#include <stdio.h>
#define DPRINTF(fmt, ...) do { \
pthread_mutex_lock(&strerror_lock); \
- fprintf(stderr, "DEBUG: " fmt "\n", __VA_ARGS__); \
+ fprintf(stderr, "DEBUG: " fmt "\n", ##__VA_ARGS__); \
pthread_mutex_unlock(&strerror_lock); \
} while (0)
#else