projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec634aa
)
add %m support to wide printf
author
Rich Felker
<dalias@aerifal.cx>
Sat, 13 Jun 2015 04:37:27 +0000
(
04:37
+0000)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 13 Jun 2015 04:37:27 +0000
(
04:37
+0000)
src/stdio/vfwprintf.c
patch
|
blob
|
history
diff --git
a/src/stdio/vfwprintf.c
b/src/stdio/vfwprintf.c
index ebdff00101cfb000309c2aee8f0de3649c271b58..281f4e569170afb0aa8dbaf2b38ca31e7bdab2a6 100644
(file)
--- a/
src/stdio/vfwprintf.c
+++ b/
src/stdio/vfwprintf.c
@@
-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;