summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpager/pager-shutdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpager/pager-shutdown.c b/libpager/pager-shutdown.c
index 8914daa1..122e79e2 100644
--- a/libpager/pager-shutdown.c
+++ b/libpager/pager-shutdown.c
@@ -38,7 +38,7 @@ pager_shutdown (struct pager *p)
mutex_unlock (&p->interlock);
if (port)
{
- ports_done_with_port (p); /* pretend send right has died */
+ ports_port_deref (p);
mach_port_deallocate (mach_task_self (), port);
}
}