summaryrefslogtreecommitdiff
path: root/src/async/async_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/async/async_api.c')
-rw-r--r--src/async/async_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/async/async_api.c b/src/async/async_api.c
index d55732abfb5..0a855514a07 100644
--- a/src/async/async_api.c
+++ b/src/async/async_api.c
@@ -541,7 +541,7 @@ retry:
async->flush_op.state = WT_ASYNCOP_READY;
WT_RET(__wt_async_op_enqueue(session, &async->flush_op));
while (async->flush_state != WT_ASYNC_FLUSH_COMPLETE)
- __wt_cond_wait(NULL, async->flush_cond, 100000);
+ __wt_cond_wait(session, async->flush_cond, 100000);
/*
* Flush is done. Clear the flags.
*/