hmp: Fix warning from smatch (wrong argument in function call)
commitf19e44bc9d5b9302d9ca4dcee52de3fc5d8b50f5
authorStefan Weil <sw@weilnetz.de>
Sun, 8 Feb 2015 14:40:48 +0000 (8 15:40 +0100)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 23 Feb 2015 15:55:20 +0000 (23 10:55 -0500)
tree0eb4afca853dab3858f03b50970098a52d6f92a9
parentcd2d5541271f1934345d8ca42f5fafff1744eee7
hmp: Fix warning from smatch (wrong argument in function call)

Fix this warning:
hmp.c:414:38: warning: Using plain integer as NULL pointer

qmp_query_block expects a pointer argument, so passing false is wrong.

Cc: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
hmp.c