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/stdio/vfscanf.c')
-rw-r--r--newlib/libc/stdio/vfscanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/vfscanf.c b/newlib/libc/stdio/vfscanf.c
index bfb31439f..3c0472b57 100644
--- a/newlib/libc/stdio/vfscanf.c
+++ b/newlib/libc/stdio/vfscanf.c
@@ -210,7 +210,7 @@ _DEFUN (vfscanf, (fp, fmt, ap),
va_list ap)
{
CHECK_INIT(fp);
- return __svfscanf_r (fp->_data, fp, fmt, ap);
+ return __svfscanf_r (_REENT, fp, fmt, ap);
}
int