Commit 46663e5e authored by Anthony Liguori's avatar Anthony Liguori
Browse files

hmp: block-stream: fix typo



Found this by enabling C++ errors.  The bool and enum arguments
are mistakenly flipped.

Signed-off-by: default avatarAnthony Liguori <anthony@codemonkey.ws>
parent 6c2679fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}