aboutsummaryrefslogtreecommitdiff
path: root/exec/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec/core.c')
-rw-r--r--exec/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec/core.c b/exec/core.c
index 6d685a23..f79b6b08 100644
--- a/exec/core.c
+++ b/exec/core.c
@@ -1,5 +1,5 @@
/* GNU Hurd standard core server.
- Copyright (C) 1992 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1999 Free Software Foundation, Inc.
Written by Roland McGrath.
This file is part of the GNU Hurd.
@@ -172,7 +172,7 @@ core_dump_task (mach_port_t coreserver,
goto lose;
err = bfd_set_section_contents (bfd, sec, data, 0,
bfd_section_size (bfd, sec));
- vm_deallocate (mach_task_self (), data, bfd_section_size (bfd, sec));
+ munmap ((caddr_t) data, bfd_section_size (bfd, sec));
if (err)
goto bfdlose;
}