aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/seekdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/seekdir.c')
-rw-r--r--sysdeps/unix/seekdir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/seekdir.c b/sysdeps/unix/seekdir.c
index 018f697c21..02390d7854 100644
--- a/sysdeps/unix/seekdir.c
+++ b/sysdeps/unix/seekdir.c
@@ -27,7 +27,7 @@ Cambridge, MA 02139, USA. */
void
DEFUN(seekdir, (dirp, pos), DIR *dirp AND __off_t pos)
{
- (void) __lseek(dirp->__fd, pos, SEEK_SET);
- dirp->__size = 0;
- dirp->__offset = 0;
+ (void) __lseek(dirp->fd, pos, SEEK_SET);
+ dirp->size = 0;
+ dirp->offset = 0;
}