summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/uClibc-0.9.31.1-fix-error-locale-utf-8.patch
blob: 1305add50a4b2495ca615da0db1658496c9bc6e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
 extra/locale/gen_wc8bit.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: uClibc-0.9.31/extra/locale/gen_wc8bit.c
===================================================================
--- uClibc-0.9.31.orig/extra/locale/gen_wc8bit.c
+++ uClibc-0.9.31/extra/locale/gen_wc8bit.c
@@ -120,7 +120,7 @@
 		}
 
  locale_failure:
-		printf("could not find a UTF8 locale ... please enable en_US.UTF-8\n");
+		fprintf(stderr, "could not find a UTF8 locale ... please enable en_US.UTF-8\n");
 		return EXIT_FAILURE;
  locale_success:
 		pclose(fp);