diff options
author | Justus Winter <justus@gnupg.org> | 2016-02-21 18:34:22 +0100 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-02-21 18:35:11 +0100 |
commit | ff2557c4eca55f46a3fb2b9c88147963d3f8b4a3 (patch) | |
tree | e184a26f5fded46267440df8f8ccaf5a18a57110 /trans/crash.c | |
parent | 691251adb7a1eaae7eda7601a1f05d4ff819dd64 (diff) |
trans/crash: fix suspending task
* trans/crash.c (S_crash_dump_task): Fix looking up 'user_proc'.
Diffstat (limited to 'trans/crash.c')
-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 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) { |