aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2009-11-22 17:16:37 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2009-11-22 17:16:37 +0000
commitc2a8874e1af268ee8afd299f840e8e80da14a35f (patch)
treed82da32a9ab020ff8cf0c1e40f54796bb5c5aac0 /usr.bin
parent1b05fd607416458590b938e665593ef8a80d12e4 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/Makefile2
-rw-r--r--usr.bin/systat/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/Makefile b/usr.bin/systat/Makefile
index 4f5f229725b6..49bb9981c0d3 100644
--- a/usr.bin/systat/Makefile
+++ b/usr.bin/systat/Makefile
@@ -15,6 +15,6 @@ CFLAGS+= -DINET6
.endif
DPADD= ${LIBCURSES} ${LIBM} ${LIBDEVSTAT} ${LIBKVM}
-LDADD= -lcurses -lm -ldevstat -lkvm
+LDADD= -lcursesw -lm -ldevstat -lkvm
.include <bsd.prog.mk>
diff --git a/usr.bin/systat/main.c b/usr.bin/systat/main.c
index 6f6b99406860..d092f10fe19a 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) {