diff options
Diffstat (limited to 'newlib/libc/stdio64/fseeko64.c')
-rw-r--r-- | newlib/libc/stdio64/fseeko64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio64/fseeko64.c b/newlib/libc/stdio64/fseeko64.c index edd7640..971bd4d 100644 --- a/newlib/libc/stdio64/fseeko64.c +++ b/newlib/libc/stdio64/fseeko64.c @@ -309,7 +309,7 @@ _DEFUN (_fseeko64_r, (ptr, fp, offset, whence), n = target - curoff; if (n) { - if (__srefill (fp) || fp->_r < n) + if (__srefill_r (ptr, fp) || fp->_r < n) goto dumb; fp->_p += n; fp->_r -= n; |