diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-17 10:35:13 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-17 10:35:13 +0000 |
commit | 59172bab0bbe995e2dc846cd0688785c69c9890c (patch) | |
tree | 41299e05a1b27533c7097a4eec4b283b93400d7b /trans/crash.c | |
parent | a9d955f3346f4bb2e7da9dc039e95cc8c67ac1cd (diff) |
2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
* crash.c (S_crash_dump_task): Use ports_get_send_right.
Diffstat (limited to 'trans/crash.c')
-rw-r--r-- | trans/crash.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/trans/crash.c b/trans/crash.c index 55e7ce92..0a5afe93 100644 --- a/trans/crash.c +++ b/trans/crash.c @@ -195,9 +195,7 @@ S_crash_dump_task (mach_port_t port, /* Install our port as the crasher's msgport. We will wait for signals to resume (crash) it. */ - msgport = ports_get_right (c); - mach_port_insert_right (mach_task_self (), msgport, - msgport, MACH_MSG_TYPE_MAKE_SEND); + msgport = ports_get_send_right (c); err = proc_setmsgport (user_proc, msgport, &c->original_msgport); mach_port_deallocate (mach_task_self (), msgport); |