]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Make pstat(8) WARNS=6 safe.
authorstas <stas@FreeBSD.org>
Thu, 11 Jun 2009 17:03:28 +0000 (17:03 +0000)
committerstas <stas@FreeBSD.org>
Thu, 11 Jun 2009 17:03:28 +0000 (17:03 +0000)
commit6d656f36a91e3bdb3e3891ae843e20a6ad5cd888
tree37e3b8849a25e30236466fa618da14f013fc8453
parent68bcef74fba53fa4a8a7ff151663b153e067187a
- 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)
usr.sbin/pstat/Makefile
usr.sbin/pstat/pstat.c