From b1dc112dca375158b59134617fe58b103742804f Mon Sep 17 00:00:00 2001 From: Larry Hastings Date: Tue, 5 Aug 2014 16:06:16 +1000 Subject: [PATCH] More fixes for the unhappy AMD FreeBSD 9 buildbot. Fingers crossed. --- Modules/posixmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 25bfa5ded66..d953b5ca65b 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3509,7 +3509,7 @@ os_lchmod_impl(PyModuleDef *module, path_t *path, int mode) { 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 @@ os_lchflags_impl(PyModuleDef *module, path_t *path, unsigned long flags) { 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);