summaryrefslogtreecommitdiff
path: root/daemons/lmail.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-03 23:47:58 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-03 23:47:58 +0000
commitc9aaae24d10f2a3972cca7924706b765f772d8a0 (patch)
treee7adfc8f1e81ebc2144fb7e5cf7ae71c348d70ff /daemons/lmail.c
parentdad514595f5dd19a9a18512b38f163e5f7cfc0f9 (diff)
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* lmail.c (bfree): Use munmap instead of vm_deallocate.
Diffstat (limited to 'daemons/lmail.c')
-rw-r--r--daemons/lmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/lmail.c b/daemons/lmail.c
index f30c3b05..3c2d64b3 100644
--- a/daemons/lmail.c
+++ b/daemons/lmail.c
@@ -139,7 +139,7 @@ static void
bfree (char *blk, size_t blk_len)
{
if (blk_len > 0)
- vm_deallocate (mach_task_self (), (vm_address_t)blk, blk_len);
+ munmap (blk, blk_len);
}
/* Read up to MAX chars from IN into BLK & BLK_LEN, which may be reused or