Signed-off-by: Federico Simoncelli fsimonce@redhat.com --- python/sanlock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/python/sanlock.c b/python/sanlock.c index cefe3d4..e32fab3 100644 --- a/python/sanlock.c +++ b/python/sanlock.c @@ -288,7 +288,7 @@ py_add_lockspace(PyObject *self __unused, PyObject *args, PyObject *keywds) memset(&ls, 0, sizeof(struct sanlk_lockspace));
/* parse python tuple */ - if (!PyArg_ParseTupleAndKeywords(args, keywds, "sks|ki", kwlist, + if (!PyArg_ParseTupleAndKeywords(args, keywds, "sks|kIi", kwlist, &lockspace, &ls.host_id, &path, &ls.host_id_disk.offset, &iotimeout, &async)) { return NULL;