aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/vsscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/vsscanf.c')
-rw-r--r--newlib/libc/stdio/vsscanf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdio/vsscanf.c b/newlib/libc/stdio/vsscanf.c
index e9e8408..6150f54 100644
--- a/newlib/libc/stdio/vsscanf.c
+++ b/newlib/libc/stdio/vsscanf.c
@@ -55,6 +55,7 @@ _vsscanf_r (struct _reent *ptr,
FILE f;
f._flags = __SRD | __SSTR;
+ f._flags2 = 0;
f._bf._base = f._p = (unsigned char *) str;
f._bf._size = f._r = strlen (str);
f._read = __seofread;