summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index ecc2eeb8ad..91680d29d7 100644
--- a/dir.c
+++ b/dir.c
@@ -1447,7 +1447,7 @@ nogvl_opendir_at(void *ptr)
O_DIRECTORY|
# endif /* O_DIRECTORY */
0);
- int fd = openat(oaa->basefd, oaa->path, 0, opendir_flags);
+ int fd = openat(oaa->basefd, oaa->path, opendir_flags);
dirp = fd >= 0 ? fdopendir(fd) : 0;
if (!dirp) {
@@ -1455,7 +1455,7 @@ nogvl_opendir_at(void *ptr)
switch (gc_for_fd_with_gvl(e)) {
default:
- if (fd < 0) fd = openat(oaa->basefd, oaa->path, 0, opendir_flags);
+ if (fd < 0) fd = openat(oaa->basefd, oaa->path, opendir_flags);
if (fd >= 0) dirp = fdopendir(fd);
if (dirp) return dirp;