diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5dump.c | 2 | ||||
-rw-r--r-- | tools/h5ls.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c index 58d723c..8b38ad4 100644 --- a/tools/h5dump.c +++ b/tools/h5dump.c @@ -386,7 +386,7 @@ dump_all (hid_t group, const char *name, void __unused__ *op_data) H5Eset_auto (NULL, NULL); - H5Gget_stat(group, name, FALSE, &statbuf); + H5Gget_objinfo(group, name, FALSE, &statbuf); switch (statbuf.type) { case H5G_LINK: 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**"); |