xc.c bug fix
PATCH 1/1 xc.c bug fix
This patch fixes a bug on getting PyObject of physinfo in xc.c
Signed-off-by Nguyen Anh Quynh <[email protected]>
# diffstat xc.patch xc.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
tools/python/xen/lowlevel/xc/xc.c +1 -1
@@ -688,7 +688,7 @@if (xc_physinfo (xc->xc_handle, &info) !=0 )return PyErr_SetFromErrno (xc_error); - return Py_BuildValue("{s:i,s:i,s:l,s:l,s:l}", + return Py_BuildValue("{s:i,s:i,s:i,s:i,s:l,s:l,s:l}", "threads_per_core", info.threads_per_core, "cores_per_socket", info.cores_per_socket, "sockets_per_node", info.sockets_per_node,
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel