# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1271330913 -3600
# Node ID b90f92d0f06b18b5a820c56d82901f9d421375bd
# Parent 960ed5e75e64af0e3207039c3f0243ebafeb814a
Fix changeset 21153:d2d8805868f1 (xend can't start)
21153 forgets to update the format string so xend can't start.
Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
tools/python/xen/lowlevel/xc/xc.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 960ed5e75e64 -r b90f92d0f06b tools/python/xen/lowlevel/xc/xc.c
--- a/tools/python/xen/lowlevel/xc/xc.c Thu Apr 15 12:24:16 2010 +0100
+++ b/tools/python/xen/lowlevel/xc/xc.c Thu Apr 15 12:28:33 2010 +0100
@@ -1175,7 +1175,7 @@ static PyObject *pyxc_physinfo(XcObject
if ( p != virt_caps )
*(p-1) = '\0';
- return Py_BuildValue("{s:i,s:i,s:i,s:i,s:i,s:l,s:l,s:l,s:i,s:s,s:s}",
+ return Py_BuildValue("{s:i,s:i,s:i,s:i,s:l,s:l,s:l,s:i,s:s,s:s}",
"nr_nodes", pinfo.nr_nodes,
"threads_per_core", pinfo.threads_per_core,
"cores_per_socket", pinfo.cores_per_socket,
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|