summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 17:49:20 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 17:49:20 +0000
commit42918d663e3aa3e36c1d4b54810411d32486262b (patch)
treeacd5cc586236835cee632112bb3731241a54e4a1 /libpager
parent8b9d68495dc58f45240b4261dfd9a3686fb3be73 (diff)
(_pager_seqnos_memory_object_init): Oops.
Diffstat (limited to 'libpager')
-rw-r--r--libpager/object-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpager/object-init.c b/libpager/object-init.c
index b2b0a27f..647abc6c 100644
--- a/libpager/object-init.c
+++ b/libpager/object-init.c
@@ -30,7 +30,7 @@ _pager_seqnos_memory_object_init (mach_port_t object,
{
struct pager *p;
- p = ports_lookup_port (0, object, _ports_class);
+ p = ports_lookup_port (0, object, _pager_class);
if (!p);
return EOPNOTSUPP;
@@ -75,6 +75,6 @@ _pager_seqnos_memory_object_init (mach_port_t object,
mutex_unlock (&p->interlock);
out:
- ports_drop_ref (p);
+ ports_port_deref (p);
return 0;
}