summaryrefslogtreecommitdiffstats
path: root/tools/h5stat/h5stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5stat/h5stat.c')
-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 2fe3302..c69d801 100644
--- a/tools/h5stat/h5stat.c
+++ b/tools/h5stat/h5stat.c
@@ -736,7 +736,7 @@ walk(hid_t group, const char *name, const H5L_info_t *linfo, void *_iter)
char *s;
/* Get object information */
- ret = H5Oget_info(group, name, &oi, H5P_DEFAULT);
+ ret = H5Oget_info_by_name(group, name, &oi, H5P_DEFAULT);
assert(ret >= 0);
/* If the object has already been printed then just show the object ID