[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] blktap2: Fix some printf format specifiers (PRIu64).
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1245838318 -3600 # Node ID 7750bae3d042c38ba8f95495c106bc40f0e7e3ad # Parent 81edfffb3aff92e03acd5ed68477763eb438c9ae blktap2: Fix some printf format specifiers (PRIu64). Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- tools/blktap2/drivers/block-ram.c | 4 ++-- tools/blktap2/drivers/block-vhd.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff -r 81edfffb3aff -r 7750bae3d042 tools/blktap2/drivers/block-ram.c --- a/tools/blktap2/drivers/block-ram.c Wed Jun 24 11:05:22 2009 +0100 +++ b/tools/blktap2/drivers/block-ram.c Wed Jun 24 11:11:58 2009 +0100 @@ -101,7 +101,7 @@ static int get_image_info(int fd, td_dis disksector_size = info->sector_size; disksize = info->size; diskinfo = info->info; - DPRINTF("Image sector_size: \n\t[%lu]\n", + DPRINTF("Image sector_size: \n\t[%"PRIu64"]\n", info->sector_size); return 0; @@ -126,7 +126,7 @@ int tdram_open (td_driver_t *driver, con "sector_shift [%llu]\n", (long long unsigned)(driver->info.size << SECTOR_SHIFT), (long long unsigned)driver->info.size); - DPRINTF("Image sector_size: \n\t[%lu]\n", + DPRINTF("Image sector_size: \n\t[%"PRIu64"]\n", driver->info.sector_size); prv->fd = -1; diff -r 81edfffb3aff -r 7750bae3d042 tools/blktap2/drivers/block-vhd.c --- a/tools/blktap2/drivers/block-vhd.c Wed Jun 24 11:05:22 2009 +0100 +++ b/tools/blktap2/drivers/block-vhd.c Wed Jun 24 11:11:58 2009 +0100 @@ -649,7 +649,8 @@ __vhd_open(td_driver_t *driver, const ch driver->info.sector_size = VHD_SECTOR_SIZE; driver->info.info = 0; - DBG(TLOG_INFO, "vhd_open: done (sz:%"PRIu64", sct:%lu, inf:%u)\n", + DBG(TLOG_INFO, "vhd_open: done (sz:%"PRIu64", sct:%"PRIu64 + ", inf:%u)\n", driver->info.size, driver->info.sector_size, driver->info.info); if (test_vhd_flag(flags, VHD_FLAG_OPEN_STRICT) && _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |