diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 20efb0ebfc6..67096c31576 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;