diff options
Diffstat (limited to 'newlib/libc/stdio/refill.c')
-rw-r--r-- | newlib/libc/stdio/refill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/refill.c b/newlib/libc/stdio/refill.c index f4644ce96..6b329a852 100644 --- a/newlib/libc/stdio/refill.c +++ b/newlib/libc/stdio/refill.c @@ -65,7 +65,7 @@ _DEFUN(__srefill_r, (ptr, fp), /* switch to reading */ if (fp->_flags & __SWR) { - if (fflush (fp)) + if (_fflush_r (ptr, fp)) return EOF; fp->_flags &= ~__SWR; fp->_w = 0; |