summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb/db_ps.c')
-rw-r--r--sys/ddb/db_ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c
index 430dae8..17992ea 100644
--- a/sys/ddb/db_ps.c
+++ b/sys/ddb/db_ps.c
@@ -178,7 +178,7 @@ dumpthread(volatile struct proc *p, volatile struct thread *td)
db_printf("[RUNQ]");
break;
case TDS_RUNNING:
- db_printf("[CPU %d]", td->td_kse->ke_oncpu);
+ db_printf("[CPU %d]", td->td_oncpu);
break;
default:
panic("unknown thread state");
OpenPOWER on IntegriCloud