summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-27 19:02:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-27 19:02:55 +0000
commit9f6f3aafbecfe6a08c1ac97ff617b05ab8b83e4c (patch)
tree5b7677f92e61a91e0b1cdd74e922b0fd996a1d30 /usr.bin
parent9fe77c1af108cc57635c17d5c4205479db4fedcd (diff)
setlocale; kleink
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cksum/cksum.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/cksum/cksum.c b/usr.bin/cksum/cksum.c
index 6f0eadae1ed..5cc9e2a9440 100644
--- a/usr.bin/cksum/cksum.c
+++ b/usr.bin/cksum/cksum.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cksum.c,v 1.2 1996/06/26 05:32:01 deraadt Exp $ */
+/* $OpenBSD: cksum.c,v 1.3 1997/06/27 19:02:54 deraadt Exp $ */
/* $NetBSD: cksum.c,v 1.7 1995/09/02 05:45:18 jtc Exp $ */
/*-
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)cksum.c 8.2 (Berkeley) 4/28/95";
#endif
-static char rcsid[] = "$OpenBSD: cksum.c,v 1.2 1996/06/26 05:32:01 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: cksum.c,v 1.3 1997/06/27 19:02:54 deraadt Exp $";
#endif /* not lint */
#include <sys/cdefs.h>
@@ -77,6 +77,8 @@ main(argc, argv)
void (*pfncn) __P((char *, u_int32_t, u_int32_t));
extern char *__progname;
+ setlocale(LC_ALL, "");
+
if (!strcmp(__progname, "sum")) {
cfncn = csum1;
pfncn = psum1;