summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/printf/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index 1151855..451b15b 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -106,7 +106,7 @@ main(int argc, char *argv[])
char *format, *fmt, *start;
#ifndef SHELL
- (void) setlocale(LC_NUMERIC, "");
+ (void) setlocale(LC_ALL, "");
#endif
#ifdef SHELL
optreset = 1; optind = 1; opterr = 0; /* initialize getopt */
OpenPOWER on IntegriCloud