summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/closedir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/dirent/closedir.c')
-rw-r--r--libc/misc/dirent/closedir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/dirent/closedir.c b/libc/misc/dirent/closedir.c
index 068e2d3e2..57600ab69 100644
--- a/libc/misc/dirent/closedir.c
+++ b/libc/misc/dirent/closedir.c
@@ -29,5 +29,5 @@ int closedir(DIR * dir)
#endif
free(dir->dd_buf);
free(dir);
- return close(fd);
+ return __close(fd);
}