More fixes for the unhappy AMD FreeBSD 9 buildbot. Fingers crossed.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 25bfa5d..d953b5c 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3509,7 +3509,7 @@
{
int res;
Py_BEGIN_ALLOW_THREADS
- res = lchmod(path.narrow, i);
+ res = lchmod(path->narrow, mode);
Py_END_ALLOW_THREADS
if (res < 0) {
path_error(path);
@@ -3661,7 +3661,7 @@
{
int res;
Py_BEGIN_ALLOW_THREADS
- res = lchflags(path.narrow, flags);
+ res = lchflags(path->narrow, flags);
Py_END_ALLOW_THREADS
if (res < 0) {
return path_error(path);