mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
monitor: Fix failure path for "S" argument
Since the "S" argument type is only used with the "?" flag, the bug can't bite. Signed-off-by: Bandan Das <bsd@redhat.com> Acked-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
dd41eea771
commit
e549d2aaeb
1 changed files with 1 additions and 1 deletions
|
@ -4016,7 +4016,7 @@ static QDict *monitor_parse_arguments(Monitor *mon,
|
|||
if (len <= 0) {
|
||||
monitor_printf(mon, "%s: string expected\n",
|
||||
cmd->name);
|
||||
break;
|
||||
goto fail;
|
||||
}
|
||||
qdict_put(qdict, key, qstring_from_str(p));
|
||||
p += len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue