crt: test: In t_stat_slash.c print wchar_t* string via %ls format Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-crt/testcases/t_stat_slash.c b/mingw-w64-crt/testcases/t_stat_slash.c index 9e335e3..ef73b35 100644 --- a/mingw-w64-crt/testcases/t_stat_slash.c +++ b/mingw-w64-crt/testcases/t_stat_slash.c
@@ -19,9 +19,9 @@ { struct stat buf; if (wstat(path, &buf) == 0) - wprintf (L"OK [%s]\n", path); + wprintf (L"OK [%ls]\n", path); else { - wprintf (L"ERROR [%s]\n", path); + wprintf (L"ERROR [%ls]\n", path); abort(); } }