summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/fseek.c')
-rw-r--r--libc/stdio/fseek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/fseek.c b/libc/stdio/fseek.c
index 0ac25e2..8581b62 100644
--- a/libc/stdio/fseek.c
+++ b/libc/stdio/fseek.c
@@ -204,7 +204,7 @@ fseeko(FILE *fp, off_t offset, int whence)
if ((*seekfn)(fp->_cookie, curoff, SEEK_SET) == POS_ERR)
goto dumb;
fp->_r = 0;
- fp->_p = fp->_bf._base;
+ fp->_p = fp->_bf._base;
if (HASUB(fp))
FREEUB(fp);
fp->_flags &= ~__SEOF;