diff options
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c index ccc8eb8..d1e3245 100644 --- a/sys/ddb/db_ps.c +++ b/sys/ddb/db_ps.c @@ -114,7 +114,7 @@ db_ps(dummy1, dummy2, dummy3, dummy4) } } } else { - td = &p->p_thread; + td = FIRST_THREAD_IN_PROC(p); if (td->td_wchan) { db_printf(" %6s %8p", td->td_wmesg, (void *)td->td_wchan); |