ia64/xen-unstable

changeset 13047:d72237b3cc37

Fix 64-bit build with a PRIu64.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Dec 15 01:42:31 2006 +0000 (2006-12-15)
parents a407f14478ba
children 29ae139a0c72
files tools/blktap/drivers/block-qcow.c
line diff
     1.1 --- a/tools/blktap/drivers/block-qcow.c	Thu Dec 14 18:30:35 2006 +0000
     1.2 +++ b/tools/blktap/drivers/block-qcow.c	Fri Dec 15 01:42:31 2006 +0000
     1.3 @@ -1329,7 +1329,7 @@ int qcow_create(const char *filename, ui
     1.4  		/*Filesize is length + 	l1_size * (1 << s->l2_bits) + (size*512)*/
     1.5  		total_length = length + (l1_size * (1 << 9)) + (size * 512);
     1.6  		qtruncate(fd, total_length, 0);
     1.7 -		printf("File truncated to length %llu\n",total_length);
     1.8 +		printf("File truncated to length %"PRIu64"\n",total_length);
     1.9  	}
    1.10  	exthdr.flags = cpu_to_be32(flags);
    1.11