git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makes sense to check that this actually compiles
[util-vserver.git]
/
python
/
vserverimpl.c
diff --git
a/python/vserverimpl.c
b/python/vserverimpl.c
index
2366c5e
..
9048e24
100644
(file)
--- a/
python/vserverimpl.c
+++ b/
python/vserverimpl.c
@@
-216,8
+216,9
@@
vserver_set_dlimit(PyObject *self, PyObject *args)
static PyObject *
vserver_unset_dlimit(PyObject *self, PyObject *args)
{
static PyObject *
vserver_unset_dlimit(PyObject *self, PyObject *args)
{
- unsigned xid;
- struct vcmd_ctx_dlimit_base_v0 init;
+ char *path;
+ unsigned xid;
+ struct vcmd_ctx_dlimit_base_v0 init;
if (!PyArg_ParseTuple(args, "si", &path, &xid))
return NULL;
if (!PyArg_ParseTuple(args, "si", &path, &xid))
return NULL;