From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN0R6-0000rA-Fs for qemu-devel@nongnu.org; Fri, 20 Sep 2013 09:07:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN0R0-00032D-QP for qemu-devel@nongnu.org; Fri, 20 Sep 2013 09:07:52 -0400 Received: from mail-ie0-f176.google.com ([209.85.223.176]:35883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN0R0-000329-MO for qemu-devel@nongnu.org; Fri, 20 Sep 2013 09:07:46 -0400 Received: by mail-ie0-f176.google.com with SMTP id as1so739398iec.35 for ; Fri, 20 Sep 2013 06:07:46 -0700 (PDT) From: Anthony Liguori Date: Fri, 20 Sep 2013 08:07:43 -0500 Message-Id: <1379682463-5496-1-git-send-email-anthony@codemonkey.ws> Subject: [Qemu-devel] [PATCH] hmp: block-stream: fix typo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori 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(-) diff --git a/hmp.c b/hmp.c index 2a90295..5891507 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); } -- 1.8.0