about summary refs log tree commit diff
path: root/libio/genops.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/genops.c')
-rw-r--r--libio/genops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libio/genops.c b/libio/genops.c
index 115c7dfe9a..14e6c0b47f 100644
--- a/libio/genops.c
+++ b/libio/genops.c
@@ -610,6 +610,7 @@ _IO_no_init (fp, flags, orientation, wd, jmp)
      struct _IO_jump_t *jmp;
 {
   fp->_flags = _IO_MAGIC|flags;
+  fp->_flags2 = 0;
   fp->_IO_buf_base = NULL;
   fp->_IO_buf_end = NULL;
   fp->_IO_read_base = NULL;