diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2012-07-15 12:00:53 +0300 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2012-07-15 12:00:53 +0300 |
commit | 1f80bea6ae0937cb91c0fc90b2196bf921552b99 (patch) | |
tree | f35cb516608d0d801bd58e4e7b9e863e56819547 | |
parent | 7bc35b21c35c2ba4a9ba5055fe4f83b47b619b4e (diff) | |
download | bindfs-1f80bea6ae0937cb91c0fc90b2196bf921552b99.tar.gz |
Fix DPRINTF
-rw-r--r-- | src/debug.h | 2 |
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 |