diff options
Diffstat (limited to 'proc/info.c')
-rw-r--r-- | proc/info.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/proc/info.c b/proc/info.c index c44bde6a..1a398461 100644 --- a/proc/info.c +++ b/proc/info.c @@ -376,7 +376,9 @@ S_proc_getprocinfo (struct proc *callerp, return ESRCH; task = p->p_task; - msgport = p->p_deadmsg ? MACH_PORT_NULL : p->p_msgport; + + check_msgport_death (p); + msgport = p->p_msgport; if (*flags & PI_FETCH_THREAD_DETAILS) *flags |= PI_FETCH_THREADS; |