diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rwho/rwho.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <stdio.h> #include <time.h> #include <string.h> +#include <locale.h> 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': |