aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-10-26 11:03:08 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-10-26 11:03:08 +0000
commitd1b2ad1a54b0836bfe928cfdae420460e97fcb5b (patch)
treedf334e959b1af330e1c6d56e8a75bc82be1cea80
parentddfbe6be8d000de54c31f0df9ef0e9186111f1a3 (diff)
Notes
-rw-r--r--usr.bin/finger/finger.c2
-rw-r--r--usr.bin/w/w.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c
index 5b5daa50107fe..578d16494dd7a 100644
--- a/usr.bin/finger/finger.c
+++ b/usr.bin/finger/finger.c
@@ -135,7 +135,7 @@ main(argc, argv)
int ch, envargc, argcnt;
char *envargv[3];
- (void) setlocale(LC_TIME|LC_CTYPE, "");
+ (void) setlocale(LC_ALL, "");
/* remove this line to get remote host */
oflag = 1; /* default to old "office" behavior */
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 1460e26ab9581..b75f7f48de332 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -131,7 +131,7 @@ main(argc, argv)
char *memf, *nlistf, *p, *vis_args, *x;
char buf[MAXHOSTNAMELEN], errbuf[256];
- (void) setlocale(LC_TIME|LC_CTYPE, "");
+ (void) setlocale(LC_ALL, "");
/* Are we w(1) or uptime(1)? */
p = __progname;