summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 17:47:51 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 17:47:51 +0000
commit8b9d68495dc58f45240b4261dfd9a3686fb3be73 (patch)
tree4c14882b66416624c0e22718b8636fc8ca1d6c91 /libpager
parent7e132eda0d22f10e019446d06bbb291f6af9c962 (diff)
(_pager_seqnos_memory_object_lock_completed): Oops.
Diffstat (limited to 'libpager')
-rw-r--r--libpager/lock-completed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpager/lock-completed.c b/libpager/lock-completed.c
index 9dfb751b..8a02d356 100644
--- a/libpager/lock-completed.c
+++ b/libpager/lock-completed.c
@@ -32,7 +32,7 @@ _pager_seqnos_memory_object_lock_completed (mach_port_t object,
struct pager *p;
struct lock_request *lr;
- p = ports_lookup_port (0, object, _ports_class);
+ p = ports_lookup_port (0, object, _pager_class);
if (!p);
{
printf ("Bad lock completed\n");
@@ -42,7 +42,7 @@ _pager_seqnos_memory_object_lock_completed (mach_port_t object,
if (control != p->memobjcntl)
{
printf ("lock_completed: bad control port\n");
- ports_drop_ref (p);
+ ports_port_deref (p);
return EPERM;
}
@@ -61,7 +61,7 @@ _pager_seqnos_memory_object_lock_completed (mach_port_t object,
_pager_release_seqno (p, seqno);
mutex_unlock (&p->interlock);
- ports_drop_ref (p);
+ ports_port_deref (p);
return 0;
}