The stdout of gen_wc8bit is redirected to a file, so an user doesn't see the error. The build just fails, with no explanation. So let's show the error through stderr instead.
Signed-off-by: Thomas Petazzoni <thomas.petazz...@free-electrons.com> --- extra/locale/gen_wc8bit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/extra/locale/gen_wc8bit.c b/extra/locale/gen_wc8bit.c index a861caa..30b4ec9 100644 --- a/extra/locale/gen_wc8bit.c +++ b/extra/locale/gen_wc8bit.c @@ -121,7 +121,7 @@ int main(int argc, char **argv) } 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); -- 1.7.0.4 _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc