aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-09-22 14:46:33 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2010-09-22 14:46:33 -0500
commit687db4ed2ecd5fd74c94fbb420482823cca4ab7e (patch)
tree8efe8a1259d4756fa2e6fc2999fbf0b7249ed1ac /block
parent879f0655579a1f94fab2cd20a1597aef9a3117ef (diff)
downloadqemu-687db4ed2ecd5fd74c94fbb420482823cca4ab7e.zip
qemu-687db4ed2ecd5fd74c94fbb420482823cca4ab7e.tar.gz
qemu-687db4ed2ecd5fd74c94fbb420482823cca4ab7e.tar.bz2
block-verify: fix 32-bit build
Reported-by: Peter Lemenkov <lemenkov@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block')
-rw-r--r--block/blkverify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blkverify.c b/block/blkverify.c
index 4202685..8083464 100644
--- a/block/blkverify.c
+++ b/block/blkverify.c
@@ -58,7 +58,7 @@ static void blkverify_err(BlkverifyAIOCB *acb, const char *fmt, ...)
va_list ap;
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->nb_sectors);
vfprintf(stderr, fmt, ap);