aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/vfscanf.c
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 bfb3143..3c0472b 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