summaryrefslogtreecommitdiffstats
path: root/src/H5B2int.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5B2int.c')
-rw-r--r--src/H5B2int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B2int.c b/src/H5B2int.c
index bac42a2..6b5f88e 100644
--- a/src/H5B2int.c
+++ b/src/H5B2int.c
@@ -1569,7 +1569,7 @@ H5B2__insert(H5B2_hdr_t *hdr, void *udata)
HDassert(udata);
/* Check if the root node is allocated yet */
- if (!H5F_addr_defined(hdr->root.addr)) {
+ if (!H5_addr_defined(hdr->root.addr)) {
/* Create root node as leaf node in B-tree */
if (H5B2__create_leaf(hdr, hdr, &(hdr->root)) < 0)
HGOTO_ERROR(H5E_BTREE, H5E_CANTINIT, FAIL, "unable to create root node")