diff options
Diffstat (limited to 'newlib/libc/stdio/ungetc.c')
-rw-r--r-- | newlib/libc/stdio/ungetc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/ungetc.c b/newlib/libc/stdio/ungetc.c index 59834de..d65cdda 100644 --- a/newlib/libc/stdio/ungetc.c +++ b/newlib/libc/stdio/ungetc.c @@ -143,7 +143,7 @@ _DEFUN(_ungetc_r, (rptr, c, fp), } if (fp->_flags & __SWR) { - if (fflush (fp)) + if (_fflush_r (rptr, fp)) { _funlockfile (fp); return EOF; |