summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/common/modules/genunix/genunix.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mdb/common/modules/genunix/genunix.c')
-rw-r--r--usr/src/cmd/mdb/common/modules/genunix/genunix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/cmd/mdb/common/modules/genunix/genunix.c b/usr/src/cmd/mdb/common/modules/genunix/genunix.c
index decf655500..51bebaedf5 100644
--- a/usr/src/cmd/mdb/common/modules/genunix/genunix.c
+++ b/usr/src/cmd/mdb/common/modules/genunix/genunix.c
@@ -124,6 +124,7 @@ pstat2ch(uchar_t state)
case SIDL: return ('I');
case SONPROC: return ('O');
case SSTOP: return ('T');
+ case SWAIT: return ('W');
default: return ('?');
}
}
@@ -148,6 +149,7 @@ ps_threadprint(uintptr_t addr, const void *data, void *private)
{ "TS_ONPROC", TS_ONPROC, TS_ONPROC },
{ "TS_ZOMB", TS_ZOMB, TS_ZOMB },
{ "TS_STOPPED", TS_STOPPED, TS_STOPPED },
+ { "TS_WAIT", TS_WAIT, TS_WAIT },
{ NULL, 0, 0 }
};