From 9c704634732f77b5ccd28ca224eac4b71d722e4a Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Sat, 3 Jul 1999 23:55:22 +0000 Subject: 1999-07-03 Thomas Bushnell, BSG * crash.c (stop_pgrp): Use munmap instead of vm_deallocate. --- trans/ChangeLog | 4 ++++ trans/crash.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'trans') 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 + + * crash.c (stop_pgrp): Use munmap instead of vm_deallocate. + 1999-06-01 Roland McGrath * 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); } -- cgit v1.2.3