summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-03 23:55:22 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-03 23:55:22 +0000
commit9c704634732f77b5ccd28ca224eac4b71d722e4a (patch)
tree18098fdec2b6a6e000d4f40a16c38466c2ffb8ae /trans
parent771a659328bf1929bef5ccb5d443c089a438b3d3 (diff)
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* crash.c (stop_pgrp): Use munmap instead of vm_deallocate.
Diffstat (limited to 'trans')
-rw-r--r--trans/ChangeLog4
-rw-r--r--trans/crash.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/trans/ChangeLog b/trans/ChangeLog
index 768400b7..c26ba598 100644
--- a/trans/ChangeLog
+++ b/trans/ChangeLog
@@ -1,3 +1,7 @@
+1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * crash.c (stop_pgrp): Use munmap instead of vm_deallocate.
+
1999-06-01 Roland McGrath <roland@baalperazim.frob.com>
* crash.c (options): Add --dump-core as alias for --core-file.
diff --git a/trans/crash.c b/trans/crash.c
index 3128e7e8..643634f8 100644
--- a/trans/crash.c
+++ b/trans/crash.c
@@ -126,7 +126,7 @@ stop_pgrp (process_t userproc, mach_port_t cttyid)
mach_port_deallocate (mach_task_self (), msgport);
}
if (pids != pids_)
- vm_deallocate (mach_task_self (), (vm_address_t) pids, numpids);
+ munmap (pids, numpids);
}