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 20efb0e..67096c3 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -891,7 +891,7 @@ posix_listdir(self, args)
if (FindClose(hFindFile) == FALSE) {
errno = GetLastError();
- return posix_error_with_filename(&name);
+ return posix_error_with_filename(name);
}
return d;