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
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,
|
qmp_block_stream(device, base != NULL, base,
|
||||||
qdict_haskey(qdict, "speed"), speed,
|
qdict_haskey(qdict, "speed"), speed,
|
||||||
BLOCKDEV_ON_ERROR_REPORT, true, &error);
|
true, BLOCKDEV_ON_ERROR_REPORT, &error);
|
||||||
|
|
||||||
hmp_handle_error(mon, &error);
|
hmp_handle_error(mon, &error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue