Mailing List Archive

[xen-unstable] xend: Fix xc.physinfo() Py_BuildValue format string.
# HG changeset patch
# User Keir Fraser <keir.fraser@citrix.com>
# Date 1262950417 0
# Node ID b600a7e8acfef3820b78daa71c6b31f15c36dc36
# Parent 277bfc2d47b1912a4a6994ed53157ff630413bdb
xend: Fix xc.physinfo() Py_BuildValue format string.

Fix for 20762:a1d0a575b4ba

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
---
tools/python/xen/lowlevel/xc/xc.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 277bfc2d47b1 -r b600a7e8acfe tools/python/xen/lowlevel/xc/xc.c
--- a/tools/python/xen/lowlevel/xc/xc.c Fri Jan 08 11:25:22 2010 +0000
+++ b/tools/python/xen/lowlevel/xc/xc.c Fri Jan 08 11:33:37 2010 +0000
@@ -1149,7 +1149,7 @@ static PyObject *pyxc_physinfo(XcObject
nr_nodes++;
}

- ret_obj = Py_BuildValue("{s:i,s:i,s:i,s:i,s:i,s:l,s:l,s:l,s:i,s:s:s:s}",
+ ret_obj = Py_BuildValue("{s:i,s:i,s:i,s:i,s:i,s:i,s:l,s:l,s:l,s:i,s:s:s:s}",
"nr_nodes", nr_nodes,
"max_node_id", info.max_node_id,
"max_cpu_id", info.max_cpu_id,

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