summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/systat/main.c')
-rw-r--r--usr.bin/systat/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/systat/main.c b/usr.bin/systat/main.c
index 1aed28a..8417811 100644
--- a/usr.bin/systat/main.c
+++ b/usr.bin/systat/main.c
@@ -84,7 +84,11 @@ main(int argc, char **argv)
size_t size;
double t;
+#ifdef USE_WIDECHAR
(void) setlocale(LC_ALL, "");
+#else
+ (void) setlocale(LC_TIME, "");
+#endif
argc--, argv++;
while (argc > 0) {
OpenPOWER on IntegriCloud