summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-17 01:30:21 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-17 01:30:21 +0200
commit9de0594175f9ccd9c130a332126f9247758c43ad (patch)
treee0dbf1c3740e8e449729a6c116ee6e0cede9bc05 /source4
parent14023e502b7a1043afe0dde7f1c60a4b29a76646 (diff)
downloadsamba-9de0594175f9ccd9c130a332126f9247758c43ad.tar.gz
samba-9de0594175f9ccd9c130a332126f9247758c43ad.tar.bz2
samba-9de0594175f9ccd9c130a332126f9247758c43ad.zip
Fix the build.
(This used to be commit 40b7b0e503cff31ea4e3d4822f2263fbeb76c57a)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/lockbench.c2
-rw-r--r--source4/torture/raw/offline.c2
-rw-r--r--source4/torture/raw/openbench.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/raw/lockbench.c b/source4/torture/raw/lockbench.c
index d7738be833..21541d003b 100644
--- a/source4/torture/raw/lockbench.c
+++ b/source4/torture/raw/lockbench.c
@@ -374,7 +374,7 @@ bool torture_bench_lock(struct torture_context *torture)
tv = timeval_current();
if (progress) {
- event_add_timed(ev, state, timeval_current_ofs(1, 0), report_rate, state);
+ event_add_timed(torture->ev, state, timeval_current_ofs(1, 0), report_rate, state);
}
printf("Running for %d seconds\n", timelimit);
diff --git a/source4/torture/raw/offline.c b/source4/torture/raw/offline.c
index 852cddb996..9c66c3be9c 100644
--- a/source4/torture/raw/offline.c
+++ b/source4/torture/raw/offline.c
@@ -467,7 +467,7 @@ bool torture_test_offline(struct torture_context *torture)
tv = timeval_current();
if (progress) {
- event_add_timed(ev, state, timeval_current_ofs(1, 0), report_rate, state);
+ event_add_timed(torture->ev, state, timeval_current_ofs(1, 0), report_rate, state);
}
printf("Running for %d seconds\n", timelimit);
diff --git a/source4/torture/raw/openbench.c b/source4/torture/raw/openbench.c
index c28312f8a6..26b862c33f 100644
--- a/source4/torture/raw/openbench.c
+++ b/source4/torture/raw/openbench.c
@@ -427,13 +427,13 @@ bool torture_bench_open(struct torture_context *torture)
tv = timeval_current();
if (progress) {
- report_te = event_add_timed(ev, state, timeval_current_ofs(1, 0),
+ report_te = event_add_timed(torture->ev, state, timeval_current_ofs(1, 0),
report_rate, state);
}
printf("Running for %d seconds\n", timelimit);
while (timeval_elapsed(&tv) < timelimit) {
- event_loop_once(ev);
+ event_loop_once(torture->ev);
if (open_failed) {
DEBUG(0,("open failed\n"));