diff options
Diffstat (limited to 'test/tmisc.c')
-rw-r--r-- | test/tmisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tmisc.c b/test/tmisc.c index aa95bb0..5fee9dc 100644 --- a/test/tmisc.c +++ b/test/tmisc.c @@ -497,8 +497,8 @@ static void test_misc2_read_attribute(const char *filename, const char *att_name root = H5Gopen2(file, "/", H5P_DEFAULT); CHECK(root, FAIL, "H5Gopen2"); - att = H5Aopen_name(root, att_name); - CHECK(att, FAIL, "H5Aopen_name"); + att = H5Aopen(root, ".", att_name, H5P_DEFAULT, H5P_DEFAULT); + CHECK(att, FAIL, "H5Aopen"); ret = H5Aread(att, type, &data_check); CHECK(ret, FAIL, "H5Aread"); |