mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-24 23:22:04 +03:00
add %m support to wide printf
This commit is contained in:
parent
ec634aad91
commit
f9e25d8138
@ -293,6 +293,8 @@ static int wprintf_core(FILE *f, const wchar_t *fmt, va_list *ap, union arg *nl_
|
||||
if ((fl&LEFT_ADJ)) fprintf(f, "%.*s", w-p, "");
|
||||
l=w;
|
||||
continue;
|
||||
case 'm':
|
||||
arg.p = strerror(errno);
|
||||
case 's':
|
||||
bs = arg.p;
|
||||
if (p<0) p = INT_MAX;
|
||||
|
Loading…
Reference in New Issue
Block a user