top: Fix count of process states
authorStathis Kamperis <beket@dragonflybsd.org>
Sun, 4 Jul 2010 06:19:44 +0000 (09:19 +0300)
committerStathis Kamperis <beket@dragonflybsd.org>
Sun, 4 Jul 2010 21:47:40 +0000 (00:47 +0300)
commitbc40e61dadc747d61d7b1cc4fd7e6e9864f0155d
treecae6a73211a329cb1fa9731540bbf540b9905ca9
parent08e1806528d1775f033377aefdc1711491f64d33
top: Fix count of process states

The count was not in correspondence with our enumeration constants
for the process states. For example, an "active" process could be
counted as "running".

Only tested with i386/UP :)
usr.bin/top/m_dragonfly.c