aboutsummaryrefslogtreecommitdiff
path: root/block-vmdk.c
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-21 06:09:39 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-21 06:09:39 +0000
commit928684128eed56b3c4f4d2300c9cd34d21d02b0c (patch)
tree0d85b08af22a57d84bad95efaf73a987e32ce6ff /block-vmdk.c
parent2662a059aa2affddfbe42e78b11c802cf30a970f (diff)
Avoid compilation warnings on 64 bits hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3202 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-vmdk.c')
-rw-r--r--block-vmdk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/block-vmdk.c b/block-vmdk.c
index 02335f7afb..ad22700346 100644
--- a/block-vmdk.c
+++ b/block-vmdk.c
@@ -659,7 +659,8 @@ static int vmdk_write(BlockDriverState *bs, int64_t sector_num,
if (sector_num > bs->total_sectors) {
fprintf(stderr,
- "(VMDK) Wrong offset: sector_num=0x%llx total_sectors=0x%llx\n",
+ "(VMDK) Wrong offset: sector_num=0x%" PRIx64
+ " total_sectors=0x%" PRIx64 "\n",
sector_num, bs->total_sectors);
return -1;
}