diff options
Diffstat (limited to 'examples/h5_crtdat.c')
-rw-r--r-- | examples/h5_crtdat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_crtdat.c b/examples/h5_crtdat.c index 4dbc7a1..bbb29b2 100644 --- a/examples/h5_crtdat.c +++ b/examples/h5_crtdat.c @@ -36,7 +36,7 @@ int main() { dataspace_id = H5Screate_simple(2, dims, NULL);
/* Create the dataset. */
- dataset_id = H5Dcreate(file_id, "/dset", H5T_STD_I32BE, dataspace_id,
+ dataset_id = H5Dcreate2(file_id, "/dset", H5T_STD_I32BE, dataspace_id,
H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/* End access to the dataset and release resources used by it. */
|