summaryrefslogtreecommitdiffstats
path: root/usr.bin/w/w.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/w/w.c')
-rw-r--r--usr.bin/w/w.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 1460e26..b75f7f4 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;
OpenPOWER on IntegriCloud