diff options
-rw-r--r-- | lib/libc/gen/rewinddir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/gen/rewinddir.c b/lib/libc/gen/rewinddir.c index 7e021b7..3796c03 100644 --- a/lib/libc/gen/rewinddir.c +++ b/lib/libc/gen/rewinddir.c @@ -46,6 +46,7 @@ void rewinddir(dirp) DIR *dirp; { + _seekdir(dirp, dirp->dd_rewind); dirp->dd_rewind = telldir(dirp); } |