|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xl: fix printf format specifier for 64-bi
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273158109 -3600
# Node ID f20b608e225af1c7ee5b0603a0d2d85ca9ef04c4
# Parent cd61f4ff90b9524c1c5c90d01d855ef47478d6c5
xl: fix printf format specifier for 64-bit arguments
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
tools/libxl/xl_cmdimpl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r cd61f4ff90b9 -r f20b608e225a tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Thu May 06 15:59:35 2010 +0100
+++ b/tools/libxl/xl_cmdimpl.c Thu May 06 16:01:49 2010 +0100
@@ -2811,8 +2811,8 @@ static void output_physinfo(void)
vinfo = libxl_get_version_info(&ctx);
if (vinfo) {
i = (1 << 20) / vinfo->pagesize;
- printf("total_memory : %lu\n", info.total_pages / i);
- printf("free_memory : %lu\n", info.free_pages / i);
+ printf("total_memory : %"PRIu64"\n", info.total_pages / i);
+ printf("free_memory : %"PRIu64"\n", info.free_pages / i);
}
return;
_______________________________________________
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] xl: fix printf format specifier for 64-bit arguments,
Xen patchbot-unstable <=
|
|
|
|
|