diff options
Diffstat (limited to 'piper.c')
-rw-r--r-- | piper.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -138,7 +138,7 @@ run_cmd(struct proc *proc) } int -have_child() +have_children() { int i; for (i = 0; i < NUM_PROCS; i++) { @@ -265,7 +265,7 @@ main(int argc, char **argv) procs[0]._stderr = fds[1]; procs[1]._stdin = fds[0]; - while (!terminate || have_child()) { + while (!terminate || have_children()) { pid_t pid; if (!terminate) |