diff options
Diffstat (limited to 'usr/klibc/stdio/fseek.c')
-rw-r--r-- | usr/klibc/stdio/fseek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/klibc/stdio/fseek.c b/usr/klibc/stdio/fseek.c index e35f85e64a632..b250efcd5532e 100644 --- a/usr/klibc/stdio/fseek.c +++ b/usr/klibc/stdio/fseek.c @@ -16,7 +16,7 @@ __extern int fseek(FILE *file, off_t where, int whence) if (whence == SEEK_CUR) where -= f->ibytes; - rv = lseek(f->pub._IO_fileno, where, whence); + rv = f->funcs.seek(f->cookie, where, whence); if (__likely(rv >= 0)) { f->pub._IO_eof = false; f->ibytes = 0; |