summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/main.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2009-11-13 03:59:44 +0000
committerume <ume@FreeBSD.org>2009-11-13 03:59:44 +0000
commit6be882dd7a15b655a994c3205f67ef9393bd866e (patch)
tree1c79b19d6211e67764e811b9dc53ab22124bf163 /usr.bin/systat/main.c
parentd4b7dcebd337deaf973f7de76bbe1e3f1e300279 (diff)
downloadFreeBSD-src-6be882dd7a15b655a994c3205f67ef9393bd866e.zip
FreeBSD-src-6be882dd7a15b655a994c3205f67ef9393bd866e.tar.gz
Use ncursesw to output the date field of vmstat display
with multi-byte string, correctly.
Diffstat (limited to 'usr.bin/systat/main.c')
-rw-r--r--usr.bin/systat/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/systat/main.c b/usr.bin/systat/main.c
index 6f6b994..d092f10 100644
--- a/usr.bin/systat/main.c
+++ b/usr.bin/systat/main.c
@@ -87,7 +87,7 @@ main(int argc, char **argv)
char errbuf[_POSIX2_LINE_MAX], dummy;
size_t size;
- (void) setlocale(LC_TIME, "");
+ (void) setlocale(LC_ALL, "");
argc--, argv++;
while (argc > 0) {
OpenPOWER on IntegriCloud