aboutsummaryrefslogtreecommitdiff
path: root/trans/crash.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/crash.c')
-rw-r--r--trans/crash.c2
1 files changed, 1 insertions, 1 deletions
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);
}