diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2008-03-12 10:12:01 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2008-03-12 10:12:01 +0000 |
| commit | 6617724c5fb1fc40eecc58f541ffbdcd005ba5c8 (patch) | |
| tree | c3fbc6ec97828161d5fc648204b80efb7998da35 /sys/fs/procfs/procfs_status.c | |
| parent | 7f77f84497e3308499a60bd662a04ea588a7c322 (diff) | |
Notes
Diffstat (limited to 'sys/fs/procfs/procfs_status.c')
| -rw-r--r-- | sys/fs/procfs/procfs_status.c | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/sys/fs/procfs/procfs_status.c b/sys/fs/procfs/procfs_status.c index 871d7fc02405..a1eefb48bd56 100644 --- a/sys/fs/procfs/procfs_status.c +++ b/sys/fs/procfs/procfs_status.c @@ -112,20 +112,13 @@ procfs_doprocstatus(PFS_FILL_ARGS) sbuf_printf(sb, "noflags"); } -#ifdef KSE - if (p->p_flag & P_SA) - wmesg = "-kse- "; - else -#endif - { - tdfirst = FIRST_THREAD_IN_PROC(p); - if (tdfirst->td_wchan != NULL) { - KASSERT(tdfirst->td_wmesg != NULL, - ("wchan %p has no wmesg", tdfirst->td_wchan)); - wmesg = tdfirst->td_wmesg; - } else - wmesg = "nochan"; - } + tdfirst = FIRST_THREAD_IN_PROC(p); + if (tdfirst->td_wchan != NULL) { + KASSERT(tdfirst->td_wmesg != NULL, + ("wchan %p has no wmesg", tdfirst->td_wchan)); + wmesg = tdfirst->td_wmesg; + } else + wmesg = "nochan"; if (p->p_flag & P_INMEM) { struct timeval start, ut, st; |
