diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/h5_attribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c index 27d144a..033aec1 100644 --- a/examples/h5_attribute.c +++ b/examples/h5_attribute.c @@ -192,7 +192,7 @@ main (void) /* * Find string attribute by iterating through all attributes */ - ret = H5Oget_info(dataset, ".", &oinfo, H5P_DEFAULT); + ret = H5Oget_info(dataset, &oinfo); for(i = 0; i < (unsigned)oinfo.num_attrs; i++) { attr = H5Aopen_by_idx(dataset, ".", H5_INDEX_CRT_ORDER, H5_ITER_INC, (hsize_t)i, H5P_DEFAULT, H5P_DEFAULT); atype = H5Aget_type(attr); |