diff options
author | Anthony Liguori <anthony@codemonkey.ws> | 2013-09-17 11:10:47 -0500 |
---|---|---|
committer | Anthony Liguori <anthony@codemonkey.ws> | 2013-09-17 11:10:47 -0500 |
commit | 46663e5eff4be1d79971f46e51c9bb415ec8f5be (patch) | |
tree | d7923d72b8b99ea9c88bb4ce3a6fa440a0f56122 /hmp.c | |
parent | 6c2679fc19560699679200fb42ab4659bcbe7f79 (diff) |
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>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |