about summary refs log tree commit diff
path: root/libio/iovsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iovsprintf.c')
-rw-r--r--libio/iovsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/iovsprintf.c b/libio/iovsprintf.c
index b2e8b67a96..f0c9889724 100644
--- a/libio/iovsprintf.c
+++ b/libio/iovsprintf.c
@@ -38,7 +38,7 @@ _IO_vsprintf (string, format, args)
   int ret;
 
 #ifdef _IO_MTSAFE_IO
-  sf._f._lock = &lock;
+  sf._sbf._f._lock = &lock;
 #endif
   _IO_init ((_IO_FILE *) &sf, 0);
   _IO_JUMPS ((_IO_FILE *) &sf) = &_IO_str_jumps;