diff options
author | Miles Bader <miles@gnu.org> | 1996-06-20 12:30:43 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-06-20 12:30:43 +0000 |
commit | 9bcf5e92bdd718156d2ac903818c5e402402932f (patch) | |
tree | e117822406da57018417fda87fe5e54126128166 /proc | |
parent | 4f0498487d7b98990b00e8b806b860ef78fbddc6 (diff) |
(S_proc_setmsgport): Add OLDMSGPORT_TYPE param.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/msg.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -47,12 +47,15 @@ error_t S_proc_setmsgport (struct proc *p, mach_port_t reply, mach_msg_type_name_t replytype, mach_port_t msgport, - mach_port_t *oldmsgport) + mach_port_t *oldmsgport, + mach_msg_type_name_t *oldmsgport_type) { if (!p) return EOPNOTSUPP; *oldmsgport = p->p_msgport; + *oldmsgport_type = MACH_MSG_TYPE_COPY_SEND; + p->p_msgport = msgport; p->p_deadmsg = 0; if (p->p_checkmsghangs) |