]> xenbits.xensource.com Git - xen.git/commitdiff
Fix changeset 21153:d2d8805868f1 (xend can't start)
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 15 Apr 2010 11:28:33 +0000 (12:28 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 15 Apr 2010 11:28:33 +0000 (12:28 +0100)
21153 forgets to update the format string so xend can't start.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
tools/python/xen/lowlevel/xc/xc.c

index f1ab00a2b7b6c5d27ea36aeee260e6ab7e29514e..33febd0196ee2bc0de7e0c5d6b60d32254014c02 100644 (file)
@@ -1175,7 +1175,7 @@ static PyObject *pyxc_physinfo(XcObject *self)
     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,