summaryrefslogtreecommitdiff
path: root/src/block/block_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/block_open.c')
-rw-r--r--src/block/block_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/block_open.c b/src/block/block_open.c
index 1fb4ecd03a7..c4884e8dafc 100644
--- a/src/block/block_open.c
+++ b/src/block/block_open.c
@@ -185,7 +185,7 @@ __wt_block_open(WT_SESSION_IMPL *session,
hash = __wt_hash_city64(filename, strlen(filename));
bucket = hash % WT_HASH_ARRAY_SIZE;
__wt_spin_lock(session, &conn->block_lock);
- SLIST_FOREACH(block, &conn->blockhash[bucket], hashl) {
+ TAILQ_FOREACH(block, &conn->blockhash[bucket], hashq) {
if (strcmp(filename, block->name) == 0) {
++block->ref;
*blockp = block;