diff options
Diffstat (limited to 'examples/h5_attribute.c')
-rw-r--r-- | examples/h5_attribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c index b49b0e1..e26ed6e 100644 --- a/examples/h5_attribute.c +++ b/examples/h5_attribute.c @@ -95,7 +95,7 @@ main (void) /* * Create the dataset in the file. */ - dataset = H5Dcreate(file, "Dataset", H5T_NATIVE_INT, fid, H5P_DEFAULT); + dataset = H5Dcreate2(file, "Dataset", H5T_NATIVE_INT, fid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); /* * Write data to the dataset. |