diff options
author | ache <ache@FreeBSD.org> | 1996-03-31 16:39:26 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-03-31 16:39:26 +0000 |
commit | 61c0414a60385ff3a1ca439741769568391da4c7 (patch) | |
tree | 1f076da7a2069ca392a7867c609c4d8a99a3226e /usr.bin/systat/main.c | |
parent | d5b266a88bf10a2dd48b6b5e39991c506db32f72 (diff) | |
download | FreeBSD-src-61c0414a60385ff3a1ca439741769568391da4c7.zip FreeBSD-src-61c0414a60385ff3a1ca439741769568391da4c7.tar.gz |
Localize time
Diffstat (limited to 'usr.bin/systat/main.c')
-rw-r--r-- | usr.bin/systat/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/systat/main.c b/usr.bin/systat/main.c index 69523c9..78dd716 100644 --- a/usr.bin/systat/main.c +++ b/usr.bin/systat/main.c @@ -43,6 +43,7 @@ static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #include <sys/param.h> +#include <locale.h> #include <nlist.h> #include <signal.h> #include <stdio.h> @@ -82,6 +83,8 @@ main(argc, argv) { char errbuf[80]; + (void) setlocale(LC_TIME, ""); + argc--, argv++; while (argc > 0) { if (argv[0][0] == '-') { |