mirror of
https://github.com/qemu/qemu.git
synced 2024-12-02 00:03:35 +08:00
block-verify: fix 32-bit build
Reported-by: Peter Lemenkov <lemenkov@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
879f065557
commit
687db4ed2e
@ -58,7 +58,7 @@ static void blkverify_err(BlkverifyAIOCB *acb, const char *fmt, ...)
|
|||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
fprintf(stderr, "blkverify: %s sector_num=%ld nb_sectors=%d ",
|
fprintf(stderr, "blkverify: %s sector_num=%" PRId64 " nb_sectors=%d ",
|
||||||
acb->is_write ? "write" : "read", acb->sector_num,
|
acb->is_write ? "write" : "read", acb->sector_num,
|
||||||
acb->nb_sectors);
|
acb->nb_sectors);
|
||||||
vfprintf(stderr, fmt, ap);
|
vfprintf(stderr, fmt, ap);
|
||||||
|
Loading…
Reference in New Issue
Block a user