git: top: Fix count of process states

Stathis Kamperis beket at crater.dragonflybsd.org
Sun Jul 4 14:53:05 PDT 2010


commit bc40e61dadc747d61d7b1cc4fd7e6e9864f0155d
Author: Stathis Kamperis <beket at dragonflybsd.org>
Date:   Sun Jul 4 09:19:44 2010 +0300

    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 :)

Summary of changes:
 usr.bin/top/m_dragonfly.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc40e61dadc747d61d7b1cc4fd7e6e9864f0155d


-- 
DragonFly BSD source repository





More information about the Commits mailing list