summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/examples/c/ex_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/examples/c/ex_thread.c')
-rw-r--r--src/third_party/wiredtiger/examples/c/ex_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/examples/c/ex_thread.c b/src/third_party/wiredtiger/examples/c/ex_thread.c
index f709707bffc..79aef70d644 100644
--- a/src/third_party/wiredtiger/examples/c/ex_thread.c
+++ b/src/third_party/wiredtiger/examples/c/ex_thread.c
@@ -95,7 +95,7 @@ main(int argc, char *argv[])
__wt_thread_create(NULL, &threads[i], scan_thread, conn));
for (i = 0; i < NUM_THREADS; i++)
- error_check(__wt_thread_join(NULL, threads[i]));
+ error_check(__wt_thread_join(NULL, &threads[i]));
error_check(conn->close(conn, NULL));