summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2021-01-07 08:45:30 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2021-01-08 18:12:59 (GMT)
commita1e920215e46c487c4f2dacb973d225a6a435914 (patch)
treea9dd64b33c87c913aa70f27130858239a1e121e1
parentab1dd83bec59c9e65c31efd6e887182948f627be (diff)
extra/locale: fix gen_wc8bit diagnostic outputHEADmaster
Diagnostic for missing UTF locale is printed to stdout instead of stderr, fix that. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-rw-r--r--extra/locale/gen_wc8bit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/locale/gen_wc8bit.c b/extra/locale/gen_wc8bit.c
index 8031df1..110541a 100644
--- a/extra/locale/gen_wc8bit.c
+++ b/extra/locale/gen_wc8bit.c
@@ -121,7 +121,8 @@ 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);