commit | 46663e5eff4be1d79971f46e51c9bb415ec8f5be | [log] [tgz] |
---|---|---|
author | Anthony Liguori <anthony@codemonkey.ws> | Tue Sep 17 11:10:47 2013 -0500 |
committer | Anthony Liguori <anthony@codemonkey.ws> | Tue Sep 17 11:10:47 2013 -0500 |
tree | d7923d72b8b99ea9c88bb4ce3a6fa440a0f56122 | |
parent | 6c2679fc19560699679200fb42ab4659bcbe7f79 [diff] [blame] |
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>
diff --git a/hmp.c b/hmp.c index 2a90295..5891507 100644 --- a/hmp.c +++ b/hmp.c
@@ -1163,7 +1163,7 @@ 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); }