mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hmp: block-stream: fix typo
Found this by enabling C++ errors. The bool and enum arguments are mistakenly flipped. Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
This commit is contained in:
parent
6c2679fc19
commit
46663e5eff
1 changed files with 1 additions and 1 deletions
2
hmp.c
2
hmp.c
|
@ -1163,7 +1163,7 @@ void hmp_block_stream(Monitor *mon, const QDict *qdict)
|
|||
|
||||
qmp_block_stream(device, base != NULL, base,
|
||||
qdict_haskey(qdict, "speed"), speed,
|
||||
BLOCKDEV_ON_ERROR_REPORT, true, &error);
|
||||
true, BLOCKDEV_ON_ERROR_REPORT, &error);
|
||||
|
||||
hmp_handle_error(mon, &error);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue