From 7e132eda0d22f10e019446d06bbb291f6af9c962 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 20 Jun 1995 17:47:21 +0000 Subject: (_pager_seqnos_memory_object_data_unlock): Oops. --- libpager/data-unlock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpager') 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; } -- cgit v1.2.3