summaryrefslogtreecommitdiff
path: root/sysdeps/unix/dirfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/dirfd.c')
-rw-r--r--sysdeps/unix/dirfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/dirfd.c b/sysdeps/unix/dirfd.c
index 7733634a47..d02c12a1fd 100644
--- a/sysdeps/unix/dirfd.c
+++ b/sysdeps/unix/dirfd.c
@@ -26,5 +26,5 @@ int
dirfd (dirp)
DIR *dirp;
{
- return dirp->__fd;
+ return dirp->fd;
}