about summary refs log tree commit diff
path: root/libio/tst_wprintf2.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2015-10-12 12:24:41 +0200
committerAndreas Schwab <schwab@suse.de>2015-10-12 15:18:08 +0200
commitf881f6ff62bba53448c5d8997287ea2e628b3a65 (patch)
tree404f7967786750db4513909c527088ff5783dd77 /libio/tst_wprintf2.c
parentc7b8939bf5646d1033375128f19261b401b9a0ce (diff)
downloadglibc-f881f6ff62bba53448c5d8997287ea2e628b3a65.tar.gz
glibc-f881f6ff62bba53448c5d8997287ea2e628b3a65.tar.xz
glibc-f881f6ff62bba53448c5d8997287ea2e628b3a65.zip
Add dependencies on needed locales in each subdir tests (bug 18969)
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)