summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 87ab2fa..2050d5a 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1981,7 +1981,7 @@ posix_lchflags(PyObject *self, PyObject *args)
unsigned long flags;
int res;
if (!PyArg_ParseTuple(args, "O&k:lchflags",
- PyUnicode_FSConverter, &path, &flags))
+ PyUnicode_FSConverter, &opath, &flags))
return NULL;
path = bytes2str(opath, 1);
Py_BEGIN_ALLOW_THREADS