From 8b9d68495dc58f45240b4261dfd9a3686fb3be73 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 20 Jun 1995 17:47:51 +0000 Subject: (_pager_seqnos_memory_object_lock_completed): Oops. --- libpager/lock-completed.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpager') 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; } -- cgit v1.2.3