summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 17:47:21 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 17:47:21 +0000
commit7e132eda0d22f10e019446d06bbb291f6af9c962 (patch)
treee0575623ed46f56ca1d5fbaa0110ecf03913eca0 /libpager
parentcd29fdd29f3294721c75676ef3f043d731b92255 (diff)
(_pager_seqnos_memory_object_data_unlock): Oops.
Diffstat (limited to 'libpager')
-rw-r--r--libpager/data-unlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpager/data-unlock.c b/libpager/data-unlock.c
index a69ed0fe..a4ef0600 100644
--- a/libpager/data-unlock.c
+++ b/libpager/data-unlock.c
@@ -32,7 +32,7 @@ _pager_seqnos_memory_object_data_unlock (mach_port_t object,
struct pager *p;
volatile int err;
- p = ports_lookup_port (0, object, _ports_class);
+ p = ports_lookup_port (0, object, _pager_class);
if (!p)
return EOPNOTSUPP;
@@ -84,7 +84,7 @@ _pager_seqnos_memory_object_data_unlock (mach_port_t object,
_pager_mark_next_request_error (p, offset, length, err);
}
out:
- ports_drop_ref (p);
+ ports_port_deref (p);
return 0;
}