diff --git a/remake.c b/remake.c index a4dff6f6..064fab13 100644 --- a/remake.c +++ b/remake.c @@ -81,7 +81,7 @@ update_goal_chain (goals, makefiles) /* Wait for a child to die. */ - wait_for_children (1, 0); + reap_children (1, 0); lastgoal = 0; g = goals;