diff options
Diffstat (limited to 'libio/iofwide.c')
-rw-r--r-- | libio/iofwide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/iofwide.c b/libio/iofwide.c index 88d2d5e563..dba55f59da 100644 --- a/libio/iofwide.c +++ b/libio/iofwide.c @@ -206,7 +206,7 @@ _IO_fwide (fp, mode) char streams have much more problems with not knowing the current position and so we should disable the optimization which allows the functions without knowing the position. */ - fp->_offset = _IO_SYSSEEK (fp, 0, 0); + fp->_offset = _IO_SYSSEEK (fp, 0, _IO_seek_cur); } /* Set the mode now. */ |