summaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c
index 37f95143f..32be3c59c 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -582,7 +582,7 @@ NULL
clearReplicationId2();
addReply(c,shared.ok);
} else {
- addReplySubSyntaxError(c);
+ addReplySubcommandSyntaxError(c);
return;
}
}