diff options
Diffstat (limited to 'newlib/libc/stdio64/fseeko64.c')
-rw-r--r-- | newlib/libc/stdio64/fseeko64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio64/fseeko64.c b/newlib/libc/stdio64/fseeko64.c index edd764009..312883072 100644 --- a/newlib/libc/stdio64/fseeko64.c +++ b/newlib/libc/stdio64/fseeko64.c @@ -111,11 +111,11 @@ _DEFUN (_fseeko64_r, (ptr, fp, offset, whence), struct stat64 st; int havepos; - /* Make sure stdio is set up. */ + _flockfile(fp); - CHECK_INIT (ptr); + /* Make sure stdio is set up. */ - _flockfile(fp); + CHECK_INIT (fp); curoff = fp->_offset; |