summaryrefslogtreecommitdiff
path: root/libc/misc/dirent
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/dirent')
-rw-r--r--libc/misc/dirent/opendir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/misc/dirent/opendir.c b/libc/misc/dirent/opendir.c
index 672ef15a4..e85dd3003 100644
--- a/libc/misc/dirent/opendir.c
+++ b/libc/misc/dirent/opendir.c
@@ -93,11 +93,11 @@ DIR *opendir(const char *name)
* to worry about it right now (if ever). */
if (fstat(fd, &statbuf) < 0) {
- // this close() never fails
- //int saved_errno;
- //saved_errno = errno;
+ /* this close() never fails
+ *int saved_errno;
+ *saved_errno = errno; */
close(fd);
- //__set_errno(saved_errno);
+ /*__set_errno(saved_errno);*/
return NULL;
}