summaryrefslogtreecommitdiffstats
path: root/src/H5B2cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5B2cache.c')
-rw-r--r--src/H5B2cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5B2cache.c b/src/H5B2cache.c
index 285cb03..933831e 100644
--- a/src/H5B2cache.c
+++ b/src/H5B2cache.c
@@ -241,6 +241,9 @@ H5B2_cache_hdr_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void *_type, vo
if(H5B2_hdr_init(f, bt2, type, depth, node_size, rrec_size, split_percent, merge_percent) < 0)
HGOTO_ERROR(H5E_BTREE, H5E_CANTINIT, NULL, "can't initialize B-tree header info")
+ /* Set the B-tree header's address */
+ bt2->addr = addr;
+
/* Set return value */
ret_value = bt2;