projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0f3b415
)
Need to be able to retrieve per-CPU values.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 30 Oct 2008 22:45:15 +0000 (22:45 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 30 Oct 2008 22:45:15 +0000 (22:45 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2811
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
python/_libvserver.c
patch
|
blob
|
history
diff --git
a/python/_libvserver.c
b/python/_libvserver.c
index
bb7a3b2
..
dfba4e6
100644
(file)
--- a/
python/_libvserver.c
+++ b/
python/_libvserver.c
@@
-785,7
+785,7
@@
pyvserver_get_sched(PyObject UNUSED *self, PyObject *args)
xid_t xid;
struct vc_set_sched sched;
- if (!PyArg_ParseTuple(args, "I", &xid))
+ if (!PyArg_ParseTuple(args, "Iii", &xid, &sched.cpu_id, &sched.bucket_id))
return NULL;
if (vc_get_sched(xid, &sched) == -1)