diff options
Diffstat (limited to 'libc/stdio/stdio.c')
-rw-r--r-- | libc/stdio/stdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/stdio.c b/libc/stdio/stdio.c index a4a27b5..1596ebf 100644 --- a/libc/stdio/stdio.c +++ b/libc/stdio/stdio.c @@ -45,7 +45,7 @@ __sread(void *cookie, char *buf, int n) { FILE *fp = cookie; int ret; - + ret = read(fp->_file, buf, n); /* if the read succeeded, update the current offset */ if (ret >= 0) @@ -71,7 +71,7 @@ __sseek(void *cookie, fpos_t offset, int whence) { FILE *fp = cookie; off_t ret; - + ret = lseek(fp->_file, (off_t)offset, whence); if (ret == (off_t)-1) fp->_flags &= ~__SOFF; |