|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-changelog
[Xen-changelog] [xen-unstable] Fix 64-bit build with a PRIu64.
 
# 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 <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |