1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

don't print the progress so often - it slows down the client too much

(This used to be commit cc6e7706635ba4bf044ebd5a525113c1b2fd93e3)
This commit is contained in:
Andrew Tridgell 1997-11-01 23:43:12 +00:00
parent 87cada5fd3
commit 60e8211021

View File

@ -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))) {