summaryrefslogtreecommitdiff
path: root/libports/notify-no-senders.c
diff options
context:
space:
mode:
Diffstat (limited to 'libports/notify-no-senders.c')
-rw-r--r--libports/notify-no-senders.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libports/notify-no-senders.c b/libports/notify-no-senders.c
index dc9b316e..55aa853f 100644
--- a/libports/notify-no-senders.c
+++ b/libports/notify-no-senders.c
@@ -22,12 +22,11 @@
#include "notify_S.h"
error_t
-ports_do_mach_notify_no_senders (mach_port_t port, mach_port_mscount_t count)
+ports_do_mach_notify_no_senders (struct port_info *pi,
+ mach_port_mscount_t count)
{
- void *pi = ports_lookup_port (0, port, 0);
if (!pi)
return EOPNOTSUPP;
ports_no_senders (pi, count);
- ports_port_deref (pi);
return 0;
}