summaryrefslogtreecommitdiffstats
path: root/src/H5B2stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5B2stat.c')
-rw-r--r--src/H5B2stat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/H5B2stat.c b/src/H5B2stat.c
index 1251195..ef58c7f 100644
--- a/src/H5B2stat.c
+++ b/src/H5B2stat.c
@@ -105,11 +105,8 @@ H5B2_stat_info(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type,
shared = H5RC_GET_OBJ(bt2->shared);
/* Get information about the B-tree */
- info->depth = bt2->depth;
+ info->depth = shared->depth;
info->nrecords = bt2->root.all_nrec;
- info->branch_nrec = shared->branch_nrec;
- info->twig_nrec = shared->twig_nrec;
- info->leaf_nrec = shared->leaf_nrec;
done:
/* Release B-tree header node */