Commit 4f94dc644e738f8cfa37160b6cae670334146e75
1 parent
f2d81b33
Fix format warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6417 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
qemu-img.c
... | ... | @@ -728,9 +728,9 @@ static int img_info(int argc, char **argv) |
728 | 728 | if (bdi.cluster_size != 0) |
729 | 729 | printf("cluster_size: %d\n", bdi.cluster_size); |
730 | 730 | if (bdi.highest_alloc) |
731 | - printf("highest_alloc: %ld\n", bdi.highest_alloc); | |
731 | + printf("highest_alloc: %" PRId64 "\n", bdi.highest_alloc); | |
732 | 732 | if (bdi.num_free_bytes) |
733 | - printf("num_free_bytes: %ld\n", bdi.num_free_bytes); | |
733 | + printf("num_free_bytes: %" PRId64 "\n", bdi.num_free_bytes); | |
734 | 734 | } |
735 | 735 | bdrv_get_backing_filename(bs, backing_filename, sizeof(backing_filename)); |
736 | 736 | if (backing_filename[0] != '\0') { | ... | ... |