summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repack/h5repack_list.c')
-rw-r--r--tools/h5repack/h5repack_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_list.c b/tools/h5repack/h5repack_list.c
index 78b8858..4bbfd59 100644
--- a/tools/h5repack/h5repack_list.c
+++ b/tools/h5repack/h5repack_list.c
@@ -120,7 +120,7 @@ int check_objects(const char* fname,
}
else
{
- if ((did=H5Dopen(fid,travt->objs[i].name))<0)
+ if ((did=H5Dopen(fid,name))<0)
goto out;
if ((sid=H5Dget_space(did))<0)
goto out;