aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.h
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2012-07-15 12:00:53 +0300
committerMartin Pärtel <martin.partel@gmail.com>2012-07-15 12:00:53 +0300
commit1f80bea6ae0937cb91c0fc90b2196bf921552b99 (patch)
treef35cb516608d0d801bd58e4e7b9e863e56819547 /src/debug.h
parent7bc35b21c35c2ba4a9ba5055fe4f83b47b619b4e (diff)
downloadbindfs-1f80bea6ae0937cb91c0fc90b2196bf921552b99.tar.gz
Fix DPRINTF
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