diff options
Diffstat (limited to 'sysdeps/unix/seekdir.c')
-rw-r--r-- | sysdeps/unix/seekdir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/seekdir.c b/sysdeps/unix/seekdir.c index 02390d7..018f697 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; } |