diff options
Diffstat (limited to 'source4/lib/tdb/tools/tdbtorture.c')
-rw-r--r-- | source4/lib/tdb/tools/tdbtorture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c index 005a2713af..95eb71281c 100644 --- a/source4/lib/tdb/tools/tdbtorture.c +++ b/source4/lib/tdb/tools/tdbtorture.c @@ -217,7 +217,7 @@ static int traverse_fn(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, if (getpid() == pids[0]) { for (i=0;i<NPROC-1;i++) { int status; - if (waitpid(pids[i+1], &status, 0) != pids[i+1]) { + if (sys_waitpid(pids[i+1], &status, 0) != pids[i+1]) { printf("failed to wait for %d\n", (int)pids[i+1]); exit(1); |