All the other files directly call the right __stdio_common
function rather than calling the next level layered function
(e.g. printf->vprintf->vfprintf).

Signed-off-by: Martin Storsjö <mar...@martin.st>
---
 mingw-w64-crt/stdio/ucrt_fwprintf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-crt/stdio/ucrt_fwprintf.c 
b/mingw-w64-crt/stdio/ucrt_fwprintf.c
index b929effbd..7a2b25ccc 100644
--- a/mingw-w64-crt/stdio/ucrt_fwprintf.c
+++ b/mingw-w64-crt/stdio/ucrt_fwprintf.c
@@ -17,7 +17,7 @@ int __cdecl fwprintf(FILE *ptr, const wchar_t *fmt, ...)
   va_list ap;
   int ret;
   va_start(ap, fmt);
-  ret = vfwprintf(ptr, fmt, ap);
+  ret = __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, ptr, fmt, 
NULL, ap);
   va_end(ap);
   return ret;
 }
-- 
2.43.0



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to