From 6d31752942285267a63d54f81952f0bc43c89df5 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 27 Dec 1995 21:49:17 +0000 Subject: (ports_do_mach_notify_dead_name): Call ports_dead_name(). --- libports/notify-dead-name.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libports/notify-dead-name.c b/libports/notify-dead-name.c index a6b7467a..24e34674 100644 --- a/libports/notify-dead-name.c +++ b/libports/notify-dead-name.c @@ -22,7 +22,12 @@ #include "notify_S.h" error_t -ports_do_mach_notify_dead_name (mach_port_t notify, mach_port_t deadport) +ports_do_mach_notify_dead_name (mach_port_t notify, mach_port_t dead_name) { + void *pi = ports_lookup_port (0, notify, 0); + if (!pi) + return EOPNOTSUPP; + ports_dead_name (pi, dead_name); + ports_port_deref (pi); return 0; } -- cgit v1.2.3