summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 17:44:46 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 17:44:46 +0000
commit24e5c21cb1832b5e37aac3d42537d5981db17b33 (patch)
tree8c4dd926c3250f55a6314b9bff9e3ff64e050b61
parent71ddbf47cab45242a320d066b8e5652a802b028f (diff)
(_pager_seqnos_memory_object_data_request): Oops.
-rw-r--r--libpager/data-request.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpager/data-request.c b/libpager/data-request.c
index 77fba116..ab882c4b 100644
--- a/libpager/data-request.c
+++ b/libpager/data-request.c
@@ -123,7 +123,7 @@ _pager_seqnos_memory_object_data_request (mach_port_t object,
_pager_mark_object_error (p, offset, length, 0);
_pager_allow_termination (p);
mutex_unlock (&p->interlock);
- ports_drop_ref (p);
+ ports_port_deref (p);
return 0;
allow_term_out:
@@ -131,13 +131,13 @@ _pager_seqnos_memory_object_data_request (mach_port_t object,
_pager_allow_termination (p);
mutex_unlock (&p->interlock);
out:
- ports_drop_ref (p);
+ ports_port_deref (p);
return 0;
error_read:
memory_object_data_error (p->memobjcntl, offset, length, EIO);
_pager_mark_object_error (p, offset, length, EIO);
_pager_allow_termination (p);
- ports_drop_ref (p);
+ ports_port_deref (p);
return 0;
}