diff options
| author | Xin LI <delphij@FreeBSD.org> | 2010-12-14 01:28:33 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2010-12-14 01:28:33 +0000 |
| commit | 69be0c5ea2b6ad70935c3654873f5b99f311a859 (patch) | |
| tree | e1bd6ff1b3bbb861560faba481433bcd750628a5 /usr.bin/printf/printf.c | |
| parent | 02a4a3f56c6722998e251e107ec1bd7c1aa432f3 (diff) | |
Notes
Diffstat (limited to 'usr.bin/printf/printf.c')
| -rw-r--r-- | usr.bin/printf/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c index 115185573f48..451b15b1a42e 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 */ |
