projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c2679f
)
hmp: block-stream: fix typo
author
Anthony Liguori
<anthony@codemonkey.ws>
Tue, 17 Sep 2013 16:10:47 +0000
(11:10 -0500)
committer
Anthony Liguori
<anthony@codemonkey.ws>
Tue, 17 Sep 2013 16:10:47 +0000
(11:10 -0500)
Found this by enabling C++ errors. The bool and enum arguments
are mistakenly flipped.
Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
hmp.c
patch
|
blob
|
history
diff --git
a/hmp.c
b/hmp.c
index 2a902951dffd685a8bcc201f3ad2c1d8558c57b3..589150773e5cc86518e56255fb5b692df8fa3a30 100644
(file)
--- a/
hmp.c
+++ b/
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);
}