summaryrefslogtreecommitdiff
path: root/proc/pgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/pgrp.c')
-rw-r--r--proc/pgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/pgrp.c b/proc/pgrp.c
index f65d5427..ec9cbbf9 100644
--- a/proc/pgrp.c
+++ b/proc/pgrp.c
@@ -227,7 +227,7 @@ S_proc_getpgrppids (struct proc *callerp,
struct proc *p;
struct pgrp *pg;
pid_t *pp = *pids;
- int npids = *npidsp;
+ unsigned int npids = *npidsp, count;
if (pgid == 0)
pg = callerp->p_pgrp;