summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index 01c3109..5c778b7 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -2333,14 +2333,12 @@ ttyinfo(tp)
else {
mtx_lock_spin(&sched_lock);
-
/* Pick interesting process. */
for (pick = NULL; p != 0; p = LIST_NEXT(p, p_pglist))
if (proc_compare(pick, p))
pick = p;
td = FIRST_THREAD_IN_PROC(pick);
-
stmp = pick->p_stat == SRUN ? "running" : /* XXXKSE */
td->td_wmesg ? td->td_wmesg : "iowait";
calcru(pick, &utime, &stime, NULL);
OpenPOWER on IntegriCloud