summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-22 19:10:15 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-22 19:10:15 +0000
commitb7eb93d789d036369660bbfbad1251928a9dcaa9 (patch)
tree6bd3fdfcf38db5369a95e57cb404a6a0f951ab60
parent63554c11f5deb5b42f0bcb9143e2c443602fa294 (diff)
(zombie_check_pid): Typo.
-rw-r--r--proc/wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/wait.c b/proc/wait.c
index 46f240af..b8f2e60e 100644
--- a/proc/wait.c
+++ b/proc/wait.c
@@ -322,7 +322,7 @@ zombie_check_pid (pid_t pid)
struct zombie *z;
for (z = zombie_list; z; z = z->next)
if (z->pid == pid || -z->pid == pid
- || z->pgrp == pid || -z->pgrp == pgrp)
+ || z->pgrp == pid || -z->pgrp == pid)
return 1;
return 0;
}