summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/torture.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/utils/torture.c b/source3/utils/torture.c
index 9363958542..0eb9a256fc 100644
--- a/source3/utils/torture.c
+++ b/source3/utils/torture.c
@@ -129,7 +129,9 @@ static int rw_torture(int numops)
for (i=0;i<numops;i++) {
unsigned n = (unsigned)random()%10;
- printf("%d\r", i); fflush(stdout);
+ if (i % 10 == 0) {
+ printf("%d\r", i); fflush(stdout);
+ }
sprintf(fname,"\\torture.%u", n);
if (!wait_lock(fnum2, n*sizeof(int), sizeof(int))) {