summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/uClibc-0.9.30.3-fix-error-locale-utf-8.patch
blob: 2fe6c508cbe7e301f95d6a17b90f167789a2cf77 (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.30.3/extra/locale/gen_wc8bit.c
===================================================================
--- uClibc-0.9.30.3.orig/extra/locale/gen_wc8bit.c
+++ uClibc-0.9.30.3/extra/locale/gen_wc8bit.c
@@ -119,7 +119,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);