diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-20 17:49:53 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-20 17:49:53 +0000 |
commit | 57eb6c51833c591d9f11b13ccac45497cc7de4ab (patch) | |
tree | 214083dacbb1ce60d1a266f4a742af79b906863f | |
parent | 42918d663e3aa3e36c1d4b54810411d32486262b (diff) |
(_pager_seqnos_memory_object_terminate): Oops.
-rw-r--r-- | libpager/object-terminate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpager/object-terminate.c b/libpager/object-terminate.c index 4bd93d84..205dd189 100644 --- a/libpager/object-terminate.c +++ b/libpager/object-terminate.c @@ -1,5 +1,5 @@ /* Implementation of memory_object_terminate for pager library - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1995 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -29,7 +29,7 @@ _pager_seqnos_memory_object_terminate (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,7 +75,7 @@ _pager_seqnos_memory_object_terminate (mach_port_t object, mutex_unlock (&p->interlock); out: - ports_drop_ref (p); + ports_port_deref (p); return 0; } |