summaryrefslogtreecommitdiff
path: root/proc/mgt.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/mgt.c')
-rw-r--r--proc/mgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index 6ee374e2..9a3cec19 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -418,7 +418,7 @@ S_proc_getallpids (struct proc *p,
prociterate (count_up, &nprocs);
if (nprocs > *pidslen)
- vm_allocate (mach_task_self (), (vm_address_t *) *pids,
+ vm_allocate (mach_task_self (), (vm_address_t *) pids,
nprocs * sizeof (pid_t), 1);
loc = *pids;