diff options
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r-- | source3/winbindd/winbindd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 78df632f498..002ba3f5e8c 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -432,7 +432,7 @@ static void winbindd_sig_chld_handler(struct tevent_context *ev, { pid_t pid; - while ((pid = sys_waitpid(-1, NULL, WNOHANG)) > 0) { + while ((pid = waitpid(-1, NULL, WNOHANG)) > 0) { winbind_child_died(pid); } } |