summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/block/block_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/block/block_addr.c')
-rw-r--r--src/third_party/wiredtiger/src/block/block_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/block/block_addr.c b/src/third_party/wiredtiger/src/block/block_addr.c
index b1f2fd9454a..d8cc1d627cf 100644
--- a/src/third_party/wiredtiger/src/block/block_addr.c
+++ b/src/third_party/wiredtiger/src/block/block_addr.c
@@ -112,7 +112,7 @@ __wt_block_addr_invalid(WT_SESSION_IMPL *session,
#endif
/* Check if the address is past the end of the file. */
- return (offset + size > block->fh->size ? EINVAL : 0);
+ return (offset + size > block->size ? EINVAL : 0);
}
/*