summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Smith <jake.smith@hdfgroup.org>2018-12-31 21:18:13 (GMT)
committerJacob Smith <jake.smith@hdfgroup.org>2018-12-31 21:18:13 (GMT)
commit8324be7fad5f1417aca3d283a8f8caf6b75c4af7 (patch)
tree3064edc68dc5dc8cc337c17ce7a466902abc5a83
parentfa6077332b36f3af0042561ccff29faef7f09e34 (diff)
downloadhdf5-8324be7fad5f1417aca3d283a8f8caf6b75c4af7.zip
hdf5-8324be7fad5f1417aca3d283a8f8caf6b75c4af7.tar.gz
hdf5-8324be7fad5f1417aca3d283a8f8caf6b75c4af7.tar.bz2
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 */