diff options
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_ps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c index cb9bfc9..26dc00b 100644 --- a/sys/ddb/db_ps.c +++ b/sys/ddb/db_ps.c @@ -138,9 +138,9 @@ db_ps(dummy1, dummy2, dummy3, dummy4) } switch (td->td_state) { case TDS_INHIBITED: - if (TD_ON_MUTEX(td)) { - db_printf("[MTX %6s %8p]", - td->td_mtxname, + if (TD_ON_LOCK(td)) { + db_printf("[LOCK %6s %8p]", + td->td_lockname, (void *)td->td_blocked); } if (TD_IS_SLEEPING(td)) { |