diff options
Diffstat (limited to 'examples/h5_ref2reg.c')
-rw-r--r-- | examples/h5_ref2reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_ref2reg.c b/examples/h5_ref2reg.c index d5d24de..1459161 100644 --- a/examples/h5_ref2reg.c +++ b/examples/h5_ref2reg.c @@ -123,7 +123,7 @@ int main(void) * Reopen the dataset with object references and read references * to the buffer. */ - dsetr_id = H5Dopen (file_id, dsetnamer); + dsetr_id = H5Dopen2(file_id, dsetnamer, H5P_DEFAULT); status = H5Dread(dsetr_id, H5T_STD_REF_DSETREG, H5S_ALL, H5S_ALL, H5P_DEFAULT, ref_out); |