diff options
-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); } |