summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/notify-nosenders.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libdiskfs/notify-nosenders.c b/libdiskfs/notify-nosenders.c
index e646e287..e0eec36b 100644
--- a/libdiskfs/notify-nosenders.c
+++ b/libdiskfs/notify-nosenders.c
@@ -34,10 +34,9 @@ diskfs_do_seqnos_mach_notify_no_senders (mach_port_t notify,
if (pt->type == PT_PAGER)
pager_no_senders ((struct pager *)pt, seqno, mscount);
else
- {
- ports_done_with_port (pt);
- ports_done_with_port (pt);
- }
+ ports_no_senders (pt, mscount);
+
+ ports_done_with_port (pt);
return 0;
}