aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 689a85359b..ba76f3416d 100644
--- a/monitor.c
+++ b/monitor.c
@@ -3757,7 +3757,7 @@ static int monitor_check_qmp_args(const mon_cmd_t *cmd, QDict *args)
const char *p;
CmdArgs cmd_args;
- if (cmd->args_type == '\0') {
+ if (cmd->args_type == NULL) {
return (qdict_size(args) == 0 ? 0 : -1);
}