summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index 4959f92..dcc710b 100644
--- a/debug.c
+++ b/debug.c
@@ -141,7 +141,7 @@ set_debug_option(const char *str, int len, void *arg)
{
#define SET_WHEN(name, var) do { \
if (len == sizeof(name) - 1 && \
- strncmp(str, name, len) == 0) { \
+ strncmp(str, (name), len) == 0) { \
extern int var; \
var = 1; \
return; \