diff options
Diffstat (limited to 'libio/wfileops.c')
-rw-r--r-- | libio/wfileops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/wfileops.c b/libio/wfileops.c index 770c9b2..e9fe55b 100644 --- a/libio/wfileops.c +++ b/libio/wfileops.c @@ -430,12 +430,12 @@ _IO_wfile_overflow (f, wch) return _IO_do_flush (f); if (f->_wide_data->_IO_write_ptr == f->_wide_data->_IO_buf_end) /* Buffer is really full */ - if (_IO_do_flush (f) == WEOF) + if (_IO_do_flush (f) == EOF) return WEOF; *f->_wide_data->_IO_write_ptr++ = wch; if ((f->_flags & _IO_UNBUFFERED) || ((f->_flags & _IO_LINE_BUF) && wch == L'\n')) - if (_IO_do_flush (f) == WEOF) + if (_IO_do_flush (f) == EOF) return WEOF; return wch; } |