summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/log/log_slot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/log/log_slot.c')
-rw-r--r--src/third_party/wiredtiger/src/log/log_slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/log/log_slot.c b/src/third_party/wiredtiger/src/log/log_slot.c
index 45455b59e6b..d6abdf9e33b 100644
--- a/src/third_party/wiredtiger/src/log/log_slot.c
+++ b/src/third_party/wiredtiger/src/log/log_slot.c
@@ -108,7 +108,7 @@ __wt_log_slot_join(WT_SESSION_IMPL *session, uint64_t mysize,
slot_grow_attempts = 0;
find_slot:
allocated_slot = WT_SLOT_ACTIVE == 1 ? 0 :
- __wt_random(session->rnd) % WT_SLOT_ACTIVE;
+ __wt_random(&session->rnd) % WT_SLOT_ACTIVE;
/*
* Get the selected slot. Use a barrier to prevent the compiler from
* caching this read.