From 59172bab0bbe995e2dc846cd0688785c69c9890c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Mar 2000 10:35:13 +0000 Subject: 2000-03-17 Roland McGrath * crash.c (S_crash_dump_task): Use ports_get_send_right. --- trans/crash.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'trans') 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); -- cgit v1.2.3