summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 0351da0..8fbffeb 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -345,7 +345,7 @@ list (hid_t group, const char *name, void __unused__ *cd)
/* Get object information */
H5E_BEGIN_TRY {
- status = H5Gget_stat(group, name, FALSE, &sb);
+ status = H5Gget_objinfo(group, name, FALSE, &sb);
} H5E_END_TRY;
if (status<0) {
puts("**NOT FOUND**");