diff options
-rw-r--r-- | trans/crash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/crash.c b/trans/crash.c index e60ce7ee..058d15e8 100644 --- a/trans/crash.c +++ b/trans/crash.c @@ -258,7 +258,7 @@ S_crash_dump_task (mach_port_t port, if (user_proc != MACH_PORT_NULL) mach_port_deallocate (mach_task_self (), user_proc); - if (err == 0 || err = MIG_NO_REPLY) + if (err == 0 || err == MIG_NO_REPLY) { if (MACH_PORT_VALID (task)) mach_port_deallocate (mach_task_self (), task); |