summaryrefslogtreecommitdiff
path: root/trans/crash.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/crash.c')
-rw-r--r--trans/crash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/crash.c b/trans/crash.c
index 23f2a2d6..9279bab9 100644
--- a/trans/crash.c
+++ b/trans/crash.c
@@ -186,7 +186,7 @@ S_crash_dump_task (mach_port_t port,
if (err)
break;
- if (user_proc != MACH_PORT_NULL)
+ if (! MACH_PORT_VALID (user_proc))
err = proc_task2proc (procserver, task, &user_proc);
if (! err)
{