diff options
Diffstat (limited to '')
-rw-r--r-- | init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index 797e0a0eb..294be9952 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -1201,7 +1201,7 @@ int init_main(int argc UNUSED_PARAM, char **argv) | |||
1201 | int status; | 1201 | int status; |
1202 | struct init_action *a; | 1202 | struct init_action *a; |
1203 | 1203 | ||
1204 | wpid = waitpid(-1, &status, WNOHANG); | 1204 | wpid = wait_any_nohang(&status); |
1205 | if (wpid <= 0) | 1205 | if (wpid <= 0) |
1206 | break; | 1206 | break; |
1207 | 1207 | ||