about summary refs log tree commit diff
path: root/libio/iovswscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iovswscanf.c')
-rw-r--r--libio/iovswscanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/iovswscanf.c b/libio/iovswscanf.c
index f0ab62a19c..262b018fbe 100644
--- a/libio/iovswscanf.c
+++ b/libio/iovswscanf.c
@@ -40,8 +40,8 @@ vswscanf (string, format, args)
   _IO_lock_t lock;
   sf._sbf._f._lock = &lock;
 #endif
-  _IO_no_init (&sf._sbf._f, 0, 1, &wd, &_IO_wstr_jumps);
-  _IO_JUMPS (&sf._sbf._f) = &_IO_str_jumps;
+  _IO_no_init (&sf._sbf._f, 0, 0, &wd, &_IO_wstr_jumps);
+  _IO_fwide (&sf._sbf._f, 1);
   _IO_wstr_init_static (&sf._sbf._f, (wchar_t *)string, 0, NULL);
   ret = _IO_vfwscanf (&sf._sbf._f, format, args, NULL);
   return ret;