diff options
Diffstat (limited to 'examples/h5_vds-exclim.c')
-rw-r--r-- | examples/h5_vds-exclim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_vds-exclim.c b/examples/h5_vds-exclim.c index b24927b..4933471 100644 --- a/examples/h5_vds-exclim.c +++ b/examples/h5_vds-exclim.c @@ -122,7 +122,7 @@ main (void) } /* Create a virtual dataset */ - dset = H5Dcreate (file, DATASET, H5T_NATIVE_INT, space, H5P_DEFAULT, + dset = H5Dcreate2 (file, DATASET, H5T_NATIVE_INT, space, H5P_DEFAULT, dcpl, H5P_DEFAULT); status = H5Sclose (space); status = H5Sclose (nsrc_space); @@ -139,7 +139,7 @@ main (void) * Open file and dataset using the default properties. */ file = H5Fopen (FILE, H5F_ACC_RDONLY, H5P_DEFAULT); - dset = H5Dopen (file, DATASET, H5P_DEFAULT); + dset = H5Dopen2 (file, DATASET, H5P_DEFAULT); /* * Get creation property list and mapping properties. |