summaryrefslogtreecommitdiff
path: root/libio/tst_wprintf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst_wprintf2.c')
-rw-r--r--libio/tst_wprintf2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst_wprintf2.c b/libio/tst_wprintf2.c
index be0f29f53f..dfff70f1f9 100644
--- a/libio/tst_wprintf2.c
+++ b/libio/tst_wprintf2.c
@@ -26,7 +26,7 @@ main (int argc, char *argv[])
unlink (name);
- setlocale (LC_ALL, "");
+ setlocale (LC_ALL, "en_US.UTF-8");
fp = fdopen (dup (fd), "w");
if (fp == NULL)