diff options
Diffstat (limited to 'tools/h5stat/h5stat.c')
-rw-r--r-- | tools/h5stat/h5stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5stat/h5stat.c b/tools/h5stat/h5stat.c index 0f5f0a5..ed6c6c4 100644 --- a/tools/h5stat/h5stat.c +++ b/tools/h5stat/h5stat.c @@ -575,7 +575,7 @@ dataset_stats(hid_t group, const char *name, const H5O_info_t *oi, iter_t *iter) iter->dset_ohdr_info.total_size += oi->hdr.space.total; iter->dset_ohdr_info.free_size += oi->hdr.space.free; - did = H5Dopen(group, name); + did = H5Dopen2(group, name, H5P_DEFAULT); assert(did > 0); /* Update dataset metadata info */ |