From 4f25f985420d77c9ec23e93a2c2fb11fb9a1b074 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 24 Oct 1995 04:09:49 +0000 Subject: Add setlocale LT_TIME --- usr.bin/rwho/rwho.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr.bin') diff --git a/usr.bin/rwho/rwho.c b/usr.bin/rwho/rwho.c index c7f8398..0f6570e 100644 --- a/usr.bin/rwho/rwho.c +++ b/usr.bin/rwho/rwho.c @@ -48,6 +48,7 @@ static char sccsid[] = "@(#)rwho.c 8.1 (Berkeley) 6/6/93"; #include #include #include +#include DIR *dirp; @@ -85,6 +86,8 @@ main(argc, argv) int f, n, i; time_t time(); + (void) setlocale(LC_TIME, ""); + while ((ch = getopt(argc, argv, "a")) != EOF) switch((char)ch) { case 'a': -- cgit v1.1