From 46663e5eff4be1d79971f46e51c9bb415ec8f5be Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Tue, 17 Sep 2013 11:10:47 -0500 Subject: hmp: block-stream: fix typo Found this by enabling C++ errors. The bool and enum arguments are mistakenly flipped. Signed-off-by: Anthony Liguori --- hmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hmp.c') diff --git a/hmp.c b/hmp.c index 2a902951df..589150773e 100644 --- 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); } -- cgit v1.2.1