summaryrefslogtreecommitdiff
path: root/libstore/copy.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-03 23:53:01 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-03 23:53:01 +0000
commit1584a9200a511a6ce330917be8dcaf957bb7c2e2 (patch)
tree3c1ba5995adf8ab6fd72f7eab6a6df1ba19b99a5 /libstore/copy.c
parent157a9dcf73718cf04690b1646995549a52cee43d (diff)
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* bunzip2.c (bunzip2): Use munmap instead of vm_deallocate. (store_bunzip2_create): Likewise. * rdwr.c (store_read): Likewise. * gunzip.c (gunzip): Likewise. (store_gunzip_create): Likewise. * enc.c (store_enc_dealloc): Likewise. * copy.c (copy_cleanup): Likewise.
Diffstat (limited to 'libstore/copy.c')
-rw-r--r--libstore/copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstore/copy.c b/libstore/copy.c
index e5e83121..7856c634 100644
--- a/libstore/copy.c
+++ b/libstore/copy.c
@@ -1,6 +1,6 @@
/* Copy store backend
- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -114,7 +114,7 @@ void
copy_cleanup (struct store *store)
{
if (store->size > 0)
- vm_deallocate (mach_task_self (), (vm_address_t)store->hook, store->size);
+ munmap (store->hook, store->size);
}
/* Copy any format-dependent fields in FROM to TO; if there's some reason