aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/vsprintf.c')
-rw-r--r--newlib/libc/stdio/vsprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdio/vsprintf.c b/newlib/libc/stdio/vsprintf.c
index 4d51fd0..4d4619f 100644
--- a/newlib/libc/stdio/vsprintf.c
+++ b/newlib/libc/stdio/vsprintf.c
@@ -56,6 +56,7 @@ _vsprintf_r (struct _reent *ptr,
FILE f;
f._flags = __SWR | __SSTR;
+ f._flags2 = 0;
f._bf._base = f._p = (unsigned char *) str;
f._bf._size = f._w = INT_MAX;
f._file = -1; /* No file. */