qemu-io-cmds: Fix two format strings
commitcf67b692b38a5e0a76d6d94f77fd4aa1b5d31849
authorStefan Weil <sw@weilnetz.de>
Sat, 6 Oct 2018 18:38:51 +0000 (6 20:38 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 5 Nov 2018 14:09:54 +0000 (5 15:09 +0100)
tree51d72e35326f74812bb3cbbf3779fa5d5fa00a11
parent415bbca86dd671fd766cdb24f40add3fda70c38a
qemu-io-cmds: Fix two format strings

Use %zu instead of %zd for unsigned numbers.

This fixes two error messages from the LSTM static code analyzer:

    This argument should be of type 'ssize_t' but is of type 'unsigned long'

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io-cmds.c