summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/tools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-01 05:08:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:54 -0500
commit70067ef957d5ea10358ecec0ff7902e873a97521 (patch)
tree7aaf63d2037bc2a31e54b9d64f46ae82164fcddd /source4/lib/tdb/tools
parentf9e507980e6a3340ae135e81d3106a836116d6b0 (diff)
downloadsamba-70067ef957d5ea10358ecec0ff7902e873a97521.tar.gz
samba-70067ef957d5ea10358ecec0ff7902e873a97521.tar.bz2
samba-70067ef957d5ea10358ecec0ff7902e873a97521.zip
r4467: - tdb standalone build doesn't need -DSTANDALONE any more
- fixed standalone build (This used to be commit ade0b71e4194f99d807d26276592bc041d46df7b)
Diffstat (limited to 'source4/lib/tdb/tools')
-rw-r--r--source4/lib/tdb/tools/tdbtorture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c
index 890e25af50..bb2313369b 100644
--- a/source4/lib/tdb/tools/tdbtorture.c
+++ b/source4/lib/tdb/tools/tdbtorture.c
@@ -219,7 +219,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 (sys_waitpid(pids[i+1], &status, 0) != pids[i+1]) {
+ if (waitpid(pids[i+1], &status, 0) != pids[i+1]) {
printf("failed to wait for %d\n",
(int)pids[i+1]);
exit(1);