summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-03-06 21:05:26 +0000
committerHerb Lewis <herb@samba.org>2002-03-06 21:05:26 +0000
commitd3c593b1208085f6c44e1707165ebee2b1cb4113 (patch)
tree1ded8f5789ff8d1879c52be5e5f93230e74ace90
parente5d80779a384c9a806fc545032330f760d8c11cb (diff)
downloadsamba-d3c593b1208085f6c44e1707165ebee2b1cb4113.tar.gz
samba-d3c593b1208085f6c44e1707165ebee2b1cb4113.tar.xz
samba-d3c593b1208085f6c44e1707165ebee2b1cb4113.zip
fixed NBENCH test on IRIX (tridge)
-rw-r--r--source/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/torture/torture.c b/source/torture/torture.c
index cb5a951b940..3c20a2896ad 100644
--- a/source/torture/torture.c
+++ b/source/torture/torture.c
@@ -3162,7 +3162,7 @@ static double create_procs(BOOL (*fn)(int), BOOL *result)
printf("%d clients started\n", nprocs);
for (i=0;i<nprocs;i++) {
- waitpid(0, &status, 0);
+ while (waitpid(0, &status, 0) == -1 && errno == EINTR) /* noop */ ;
}
printf("\n");