diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c index e60f1caf78..b4aefb8780 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -2168,7 +2168,7 @@ double torture_create_procs(BOOL (*fn)(struct smbcli_state *, int), BOOL *result for (i=0;i<torture_nprocs;i++) { int ret; - while ((ret=sys_waitpid(0, &status, 0)) == -1 && errno == EINTR) /* noop */ ; + while ((ret=waitpid(0, &status, 0)) == -1 && errno == EINTR) /* noop */ ; if (ret == -1 || WEXITSTATUS(status) != 0) { *result = False; } |