Skip to content

Commit d1e951c

Browse files
author
shubh@DOE
committed
fix one mistake
1 parent c91a67c commit d1e951c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/stdio/printf_core/char_converter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ LIBC_INLINE int convert_char(Writer<write_mode> *writer,
4040

4141
if (to_conv.length_modifier == LengthModifier::l) {
4242
wc = static_cast<wchar_t>(to_conv.conv_val_raw);
43-
ret = internal::wcrtomb(s, wc, &internal_mbstate);
43+
ret = internal::wcrtomb(mb_str, wc, &internal_mbstate);
4444
if (ret <= 0) {
4545
return -1;
4646
}

0 commit comments

Comments
 (0)