WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Fix 64-bit build with a PRIu64.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix 64-bit build with a PRIu64.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Dec 2006 10:50:28 +0000
Delivery-date: Fri, 15 Dec 2006 02:51:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID d72237b3cc37f42edd92798bcacaf89e73fe122e
# Parent  a407f14478ba42e9c28247954b720cd0a5c22db7
Fix 64-bit build with a PRIu64.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/blktap/drivers/block-qcow.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r a407f14478ba -r d72237b3cc37 tools/blktap/drivers/block-qcow.c
--- a/tools/blktap/drivers/block-qcow.c Thu Dec 14 18:30:35 2006 +0000
+++ b/tools/blktap/drivers/block-qcow.c Fri Dec 15 01:42:31 2006 +0000
@@ -1329,7 +1329,7 @@ int qcow_create(const char *filename, ui
                /*Filesize is length +  l1_size * (1 << s->l2_bits) + 
(size*512)*/
                total_length = length + (l1_size * (1 << 9)) + (size * 512);
                qtruncate(fd, total_length, 0);
-               printf("File truncated to length %llu\n",total_length);
+               printf("File truncated to length %"PRIu64"\n",total_length);
        }
        exthdr.flags = cpu_to_be32(flags);
        

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fix 64-bit build with a PRIu64., Xen patchbot-unstable <=