diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2010-09-22 14:46:33 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-09-22 14:46:33 -0500 |
commit | 687db4ed2ecd5fd74c94fbb420482823cca4ab7e (patch) | |
tree | 8efe8a1259d4756fa2e6fc2999fbf0b7249ed1ac /block | |
parent | 879f0655579a1f94fab2cd20a1597aef9a3117ef (diff) | |
download | hqemu-687db4ed2ecd5fd74c94fbb420482823cca4ab7e.zip hqemu-687db4ed2ecd5fd74c94fbb420482823cca4ab7e.tar.gz |
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.c | 2 |
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); |