Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio64/ftello64.c')
-rw-r--r--newlib/libc/stdio64/ftello64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio64/ftello64.c b/newlib/libc/stdio64/ftello64.c
index ef3317561..aaf0f023e 100644
--- a/newlib/libc/stdio64/ftello64.c
+++ b/newlib/libc/stdio64/ftello64.c
@@ -91,11 +91,11 @@ _DEFUN (_ftello64_r, (ptr, fp),
{
_fpos64_t pos;
- /* Ensure stdio is set up. */
+ _flockfile(fp);
- CHECK_INIT (ptr);
+ /* Ensure stdio is set up. */
- _flockfile(fp);
+ CHECK_INIT (fp);
if (fp->_seek64 == NULL)
{