projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Need to be able to retrieve per-CPU values.
[util-vserver.git]
/
python
/
_libvserver.c
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)