summaryrefslogtreecommitdiff
path: root/libpager/object-terminate.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpager/object-terminate.c')
-rw-r--r--libpager/object-terminate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpager/object-terminate.c b/libpager/object-terminate.c
index caacc771..578cf56e 100644
--- a/libpager/object-terminate.c
+++ b/libpager/object-terminate.c
@@ -29,7 +29,7 @@ _pager_seqnos_memory_object_terminate (mach_port_t object,
{
struct pager *p;
- if (!(p = check_port_type (object, pager_port_type)))
+ if (!(p = ports_check_port_type (object, pager_port_type)))
return EOPNOTSUPP;
if (control != p->memobjcntl)
@@ -64,7 +64,7 @@ _pager_seqnos_memory_object_terminate (mach_port_t object,
_pager_free_structure (p);
out:
- done_with_port (p);
+ ports_done_with_port (p);
return 0;
}