diff options
author | David Young <dyoung@hdfgroup.org> | 2020-05-18 17:46:52 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:37:20 (GMT) |
commit | d91b9f9b0a978860f8dbfc746fa6a2610677eb89 (patch) | |
tree | 44c22751daa725e42cf7ad3efa1e592c73c750b5 | |
parent | 0103e8f1e0105cf44e1e34b61e24365b392cbeff (diff) | |
download | hdf5-d91b9f9b0a978860f8dbfc746fa6a2610677eb89.zip hdf5-d91b9f9b0a978860f8dbfc746fa6a2610677eb89.tar.gz hdf5-d91b9f9b0a978860f8dbfc746fa6a2610677eb89.tar.bz2 |
Fix compilation: use H5Oget_info() instead of specifying the version
(H5O_getinfo2).
-rw-r--r-- | test/vfd_swmr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/vfd_swmr.c b/test/vfd_swmr.c index e235db9..4f8151c 100644 --- a/test/vfd_swmr.c +++ b/test/vfd_swmr.c @@ -914,7 +914,7 @@ test_writer_md(void) FAIL_STACK_ERROR /* Get dataset object header address */ - if(H5Oget_info2(did, &oinfo, H5O_INFO_BASIC) < 0) + if(H5Oget_info(did, &oinfo, H5O_INFO_BASIC) < 0) FAIL_STACK_ERROR /* Close the dataset */ @@ -949,7 +949,7 @@ test_writer_md(void) FAIL_STACK_ERROR /* Get dataset object info */ - if(H5Oget_info2(did, &oinfo, H5O_INFO_BASIC) < 0) + if(H5Oget_info(did, &oinfo, H5O_INFO_BASIC) < 0) FAIL_STACK_ERROR /* Close the dataset */ @@ -981,7 +981,7 @@ test_writer_md(void) FAIL_STACK_ERROR /* Get dataset object info */ - if(H5Oget_info2(did, &oinfo, H5O_INFO_BASIC) < 0) + if(H5Oget_info(did, &oinfo, H5O_INFO_BASIC) < 0) FAIL_STACK_ERROR /* Close the dataset */ @@ -1477,7 +1477,7 @@ test_reader_md_concur(void) FAIL_STACK_ERROR /* Get dataset object header address */ - if(H5Oget_info2(did, &oinfo, H5O_INFO_BASIC) < 0) + if(H5Oget_info(did, &oinfo, H5O_INFO_BASIC) < 0) FAIL_STACK_ERROR /* Close the dataset */ |