about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/vfprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index 3fa53a62a8..ebe6220b24 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -1115,7 +1115,8 @@ do_positional:
 	  }
 
 	/* Parse the format specifier.  */
-	nargs += parse_one_spec (f, nargs, &specs[nspecs], &max_ref_arg, NULL);
+	nargs += parse_one_spec (f, nargs, &specs[nspecs], &max_ref_arg,
+				 &mbstate);
       }
 
     /* Determine the number of arguments the format string consumes.  */