diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-07-03 23:55:22 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-07-03 23:55:22 +0000 |
commit | 9c704634732f77b5ccd28ca224eac4b71d722e4a (patch) | |
tree | 18098fdec2b6a6e000d4f40a16c38466c2ffb8ae | |
parent | 771a659328bf1929bef5ccb5d443c089a438b3d3 (diff) |
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* crash.c (stop_pgrp): Use munmap instead of vm_deallocate.
-rw-r--r-- | trans/ChangeLog | 4 | ||||
-rw-r--r-- | trans/crash.c | 2 |
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); } |