summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/checkpoint/workers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/checkpoint/workers.c')
-rw-r--r--src/third_party/wiredtiger/test/checkpoint/workers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/test/checkpoint/workers.c b/src/third_party/wiredtiger/test/checkpoint/workers.c
index 59c09e4c238..76a209ce25f 100644
--- a/src/third_party/wiredtiger/test/checkpoint/workers.c
+++ b/src/third_party/wiredtiger/test/checkpoint/workers.c
@@ -391,7 +391,7 @@ real_worker(void)
goto err;
}
- for (i = 0; i < g.nops && g.running; ++i, __wt_yield()) {
+ for (i = 0; i < g.nops && g.opts.running; ++i, __wt_yield()) {
if (i > 0 && i % 5000 == 0)
printf("Worker %u of %u ops\n", i, g.nops);
if (start_txn) {