summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/h5stat/h5stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5stat/h5stat.c b/tools/h5stat/h5stat.c
index fbf38bd..2d67cc7 100644
--- a/tools/h5stat/h5stat.c
+++ b/tools/h5stat/h5stat.c
@@ -471,7 +471,7 @@ group_stats(hid_t group, const char *name, const char *fullname,
iter->group_ohdr_info.free_size += oi->hdr.space.free;
/* Get group information */
- ret = H5Gget_info(group, name, &ginfo, H5P_DEFAULT);
+ ret = H5Gget_info_by_name(group, name, &ginfo, H5P_DEFAULT);
assert(ret >= 0);
/* Update link stats */