From f3587c7ea3ae1b25e20bb0998ac26d712aee3022 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 24 Oct 1995 04:06:02 +0000 Subject: Add setlocale LC_TIME --- usr.bin/who/who.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr.bin/who/who.c') diff --git a/usr.bin/who/who.c b/usr.bin/who/who.c index 77a131c..3060881 100644 --- a/usr.bin/who/who.c +++ b/usr.bin/who/who.c @@ -50,6 +50,7 @@ static char sccsid[] = "@(#)who.c 8.1 (Berkeley) 6/6/93"; #include #include #include +#include main(argc, argv) int argc; @@ -61,6 +62,8 @@ main(argc, argv) FILE *ufp, *file(); char *t, *rindex(), *strcpy(), *strncpy(), *ttyname(); + (void) setlocale(LC_TIME, ""); + switch (argc) { case 1: /* who */ ufp = file(_PATH_UTMP); -- cgit v1.1