From 568ebe5b1a0e55e4fcbb93ab20ddfb73098448bb Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 3 Nov 1994 17:16:53 +0000 Subject: entered into RCS --- proc/mgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proc/mgt.c') 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; -- cgit v1.2.3