From 8324be7fad5f1417aca3d283a8f8caf6b75c4af7 Mon Sep 17 00:00:00 2001 From: Jacob Smith Date: Mon, 31 Dec 2018 15:18:13 -0600 Subject: fix wrong function name that is missed by correctional macro --- test/ohdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12