summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat/Makefile
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-06-11 17:03:28 +0000
committerstas <stas@FreeBSD.org>2009-06-11 17:03:28 +0000
commit6d656f36a91e3bdb3e3891ae843e20a6ad5cd888 (patch)
tree37e3b8849a25e30236466fa618da14f013fc8453 /usr.sbin/pstat/Makefile
parent68bcef74fba53fa4a8a7ff151663b153e067187a (diff)
downloadFreeBSD-src-6d656f36a91e3bdb3e3891ae843e20a6ad5cd888.zip
FreeBSD-src-6d656f36a91e3bdb3e3891ae843e20a6ad5cd888.tar.gz
- Make pstat(8) WARNS=6 safe.
- While here, eliminate the check for len > 0 in ttymode_sysctl as the code is able to handle this case well. Reviewed by: ed (initial version)
Diffstat (limited to 'usr.sbin/pstat/Makefile')
-rw-r--r--usr.sbin/pstat/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pstat/Makefile b/usr.sbin/pstat/Makefile
index 8fd2ced..4620dde 100644
--- a/usr.sbin/pstat/Makefile
+++ b/usr.sbin/pstat/Makefile
@@ -6,7 +6,7 @@ LINKS= ${BINDIR}/pstat ${BINDIR}/swapinfo
MAN= pstat.8
MLINKS= pstat.8 swapinfo.8
-WARNS?= 3
+WARNS?= 6
DPADD= ${LIBKVM} ${LIBUTIL}
LDADD= -lkvm -lutil
OpenPOWER on IntegriCloud