diff --git a/usr.bin/who/who.c b/usr.bin/who/who.c index 77a131cb0375..306088180a73 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);