X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=python%2F_libvserver.c;h=d433d4b983b716e9b895f423d818b846390a0490;hb=73344887cd41fa1157c86ae3e1ad75e007e6e0d8;hp=53a46d8c928b2937954c7cfa30d05bef1be78b12;hpb=a9d382cc8a8730ec87fa826f8c104e8deb20e8a4;p=util-vserver.git diff --git a/python/_libvserver.c b/python/_libvserver.c index 53a46d8..d433d4b 100644 --- a/python/_libvserver.c +++ b/python/_libvserver.c @@ -163,7 +163,7 @@ pyvserver_set_cflags(PyObject UNUSED *self, PyObject *args) xid_t xid; struct vc_ctx_flags flags; - if (!PyArg_ParseTuple(args, "I(KK)", &xid, flags.flagword, flags.mask)) + if (!PyArg_ParseTuple(args, "I(KK)", &xid, &flags.flagword, &flags.mask)) return NULL; if (vc_set_cflags(xid, &flags) == -1)