diff options
Diffstat (limited to 'bin/expr/expr.c')
-rw-r--r-- | bin/expr/expr.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/expr/expr.c b/bin/expr/expr.c index dcf570bfb23..b15e5fb9241 100644 --- a/bin/expr/expr.c +++ b/bin/expr/expr.c @@ -1,4 +1,4 @@ -/* $NetBSD: expr.c,v 1.3 1995/04/28 23:27:15 jtc Exp $ */ +/* $NetBSD: expr.c,v 1.3.6.1 1996/06/04 20:41:47 cgd Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. @@ -484,10 +484,7 @@ main(argc, argv) { struct val *vp; - if (!setlocale(LC_ALL, "")) { - fprintf(stderr, - "setlocale failed, continuing with \"C\" locale."); - } + (void) setlocale(LC_ALL, ""); av = argv + 1; nexttoken(); |