summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macosmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/macosmodule.c')
-rw-r--r--Mac/Modules/macosmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c
index 2ff5895..5b445c0 100644
--- a/Mac/Modules/macosmodule.c
+++ b/Mac/Modules/macosmodule.c
@@ -566,7 +566,7 @@ MacOS_openrf(PyObject *self, PyObject *args)
FILE *tfp;
char pathname[PATHNAMELEN];
- if ( err=PyMac_GetFullPathname(&fss, pathname, PATHNAMELEN) ) {
+ if ( (err=PyMac_GetFullPathname(&fss, pathname, PATHNAMELEN)) ) {
PyMac_Error(err);
Py_DECREF(fp);
return NULL;