From a51e7e02eaef23e40fe4c12cd4ca3b36aa2e94be Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 28 Mar 1996 20:19:39 +0000 Subject: (ports_begin_rpc): Return EOPNOTSUPP, not EDIED, if receive right is gone. --- libports/begin-rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libports/begin-rpc.c') diff --git a/libports/begin-rpc.c b/libports/begin-rpc.c index 73b3646b..ebe3473c 100644 --- a/libports/begin-rpc.c +++ b/libports/begin-rpc.c @@ -38,7 +38,7 @@ ports_begin_rpc (void *portstruct, mach_msg_id_t msg_id, struct rpc_info *info) if (pi->port_right == MACH_PORT_NULL) { mutex_unlock (&_ports_lock); - return EDIED; + return EOPNOTSUPP; } if (_ports_flags & INHIBITED) -- cgit v1.2.3