projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
800a4d6
)
Fix incorrect variable usage
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 5 May 2011 16:52:20 +0000 (18:52 +0200)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 5 May 2011 21:44:34 +0000 (23:44 +0200)
python/_libvserver.c
patch
|
blob
|
history
diff --git
a/python/_libvserver.c
b/python/_libvserver.c
index
53a46d8
..
d433d4b
100644
(file)
--- 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)