Use H5DOpen2 in hl/test/test_dset_append.c.

This commit is contained in:
Larry Knox 2019-07-11 08:31:02 -05:00
parent 3e33d61c4e
commit 33e9b4526e

View File

@ -691,7 +691,7 @@ test_dataset_append_BUG1(hid_t fid)
FAIL_STACK_ERROR;
/* Open the dataset again */
if((did = H5Dopen(fid, DBUGNAME1, H5P_DEFAULT)) < 0)
if((did = H5Dopen2(fid, DBUGNAME1, H5P_DEFAULT)) < 0)
FAIL_STACK_ERROR;
/* Read the dataset */
@ -853,7 +853,7 @@ test_dataset_append_BUG2(hid_t fid)
FAIL_STACK_ERROR;
/* Open the dataset again */
if((did = H5Dopen(fid, DBUGNAME2, H5P_DEFAULT)) < 0)
if((did = H5Dopen2(fid, DBUGNAME2, H5P_DEFAULT)) < 0)
FAIL_STACK_ERROR;
/* Read the dataset */