projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c871af7
)
xl: fix printf format specifier for 64-bit arguments
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 6 May 2010 15:01:49 +0000
(16:01 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 6 May 2010 15:01:49 +0000
(16:01 +0100)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/xl_cmdimpl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl_cmdimpl.c
b/tools/libxl/xl_cmdimpl.c
index 9e20c631c187e19adb5db48d28d600d2dcd764ae..329bf235f88d31f56472fe86ea0ea60314716192 100644
(file)
--- a/
tools/libxl/xl_cmdimpl.c
+++ b/
tools/libxl/xl_cmdimpl.c
@@
-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;