summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/torture/torture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 755d22bc2d..c7a69ae403 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -5970,7 +5970,7 @@ static bool run_windows_write(int dummy)
int i;
bool ret = false;
const char *fname = "\\writetest.txt";
- struct timeval start;
+ struct timeval start_time;
double seconds;
double kbytes;
@@ -5986,7 +5986,7 @@ static bool run_windows_write(int dummy)
cli_sockopt(cli1, sockops);
- start = timeval_current();
+ start_time = timeval_current();
for (i=0; i<torture_numops; i++) {
char c = 0;
@@ -6008,7 +6008,7 @@ static bool run_windows_write(int dummy)
}
}
- seconds = timeval_elapsed(&start);
+ seconds = timeval_elapsed(&start_time);
kbytes = (double)torture_blocksize * torture_numops;
kbytes /= 1024;