summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proc/info.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proc/info.c b/proc/info.c
index 83955a42..a02d453d 100644
--- a/proc/info.c
+++ b/proc/info.c
@@ -464,6 +464,9 @@ S_proc_getprocinfo (struct proc *callerp,
break;
}
+ /* Note that there are thread wait entries only for threads not marked
+ dead. */
+
if (*flags & PI_FETCH_THREAD_WAITS)
{
/* See what thread I is waiting on. */