summaryrefslogtreecommitdiff
path: root/qemu-img.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-05-22 08:02:12 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-05-22 08:02:12 +0000
commitd6ffb7d6118cfc31e5d68e6a6b83be8575d85482 (patch)
tree3a2d53ae75005891bf4dd662465cc1cffab36f0b /qemu-img.c
parent2570caf56c9b0d94180072ed17aea7da804d0f28 (diff)
downloadqemu-d6ffb7d6118cfc31e5d68e6a6b83be8575d85482.tar.gz
qemu-d6ffb7d6118cfc31e5d68e6a6b83be8575d85482.tar.bz2
qemu-d6ffb7d6118cfc31e5d68e6a6b83be8575d85482.zip
Fix %lld or %llx printf format use
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-img.c')
-rw-r--r--qemu-img.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/qemu-img.c b/qemu-img.c
index d3c30a74f3..cb007b757d 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -701,9 +701,9 @@ static int img_convert(int argc, char **argv)
bs_offset += bs_sectors;
bdrv_get_geometry(bs[bs_i], &bs_sectors);
bs_num = 0;
- /* printf("changing part: sector_num=%lld, "
- "bs_i=%d, bs_offset=%lld, bs_sectors=%lld\n",
- sector_num, bs_i, bs_offset, bs_sectors); */
+ /* printf("changing part: sector_num=%" PRId64 ", "
+ "bs_i=%d, bs_offset=%" PRId64 ", bs_sectors=%" PRId64
+ "\n", sector_num, bs_i, bs_offset, bs_sectors); */
}
assert (bs_num < bs_sectors);
@@ -749,8 +749,8 @@ static int img_convert(int argc, char **argv)
assert (bs_i < bs_n);
bs_offset += bs_sectors;
bdrv_get_geometry(bs[bs_i], &bs_sectors);
- /* printf("changing part: sector_num=%lld, bs_i=%d, "
- "bs_offset=%lld, bs_sectors=%lld\n",
+ /* printf("changing part: sector_num=%" PRId64 ", bs_i=%d, "
+ "bs_offset=%" PRId64 ", bs_sectors=%" PRId64 "\n",
sector_num, bs_i, bs_offset, bs_sectors); */
}