summaryrefslogtreecommitdiffstats
path: root/source3
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
commit86a9be69d3cc5ab569716dad5ba1eea9809a4771 (patch)
tree83a5579ff232400d5ab1d4a30a4da737fe2203cb /source3
parent99c4646a198a6a49a087e22a7d03af495d044ec6 (diff)
downloadsamba-86a9be69d3cc5ab569716dad5ba1eea9809a4771.tar.gz
samba-86a9be69d3cc5ab569716dad5ba1eea9809a4771.tar.xz
samba-86a9be69d3cc5ab569716dad5ba1eea9809a4771.zip
fixed NBENCH test on IRIX (tridge)
(This used to be commit d3c593b1208085f6c44e1707165ebee2b1cb4113)
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index cb5a951b94..3c20a2896a 100644
--- a/source3/torture/torture.c
+++ b/source3/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");