summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake.smith <jake.smith@hdfgroup.org>2019-01-02 18:29:11 (GMT)
committerjake.smith <jake.smith@hdfgroup.org>2019-01-02 18:29:11 (GMT)
commit71f4e1832c737e2fb76385bc478fad7f39d89ab8 (patch)
tree3dca901852703869b64e9614325d0d78101b84d7
parentaf21ce90d9465e805807f17da21f93e64e03492a (diff)
parent8324be7fad5f1417aca3d283a8f8caf6b75c4af7 (diff)
downloadhdf5-71f4e1832c737e2fb76385bc478fad7f39d89ab8.zip
hdf5-71f4e1832c737e2fb76385bc478fad7f39d89ab8.tar.gz
hdf5-71f4e1832c737e2fb76385bc478fad7f39d89ab8.tar.bz2
Merge pull request #1420 in HDFFV/hdf5 from ~JAKE.SMITH/hdf5:dset_ohdr_minimize to develop
* commit '8324be7fad5f1417aca3d283a8f8caf6b75c4af7': fix wrong function name that is missed by correctional macro
-rw-r--r--test/ohdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ohdr.c b/test/ohdr.c
index 042a81b..69b46cd 100644
--- a/test/ohdr.c
+++ b/test/ohdr.c
@@ -770,7 +770,7 @@ count_attributes(hid_t dset_id)
{
H5O_info_t info;
- if(H5Oget_info(dset_id, &info, H5O_INFO_ALL) < 0)
+ if(H5Oget_info2(dset_id, &info, H5O_INFO_ALL) < 0)
return -1;
else
return (int)info.num_attrs; /* should never exceed int bounds */