summaryrefslogtreecommitdiffstats
path: root/examples/h5_shared_mesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_shared_mesg.c')
-rw-r--r--examples/h5_shared_mesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_shared_mesg.c b/examples/h5_shared_mesg.c
index ab79b15..41a23a2 100644
--- a/examples/h5_shared_mesg.c
+++ b/examples/h5_shared_mesg.c
@@ -290,7 +290,7 @@ create_standard_file(const char *filename, hid_t fcpl_id)
*/
for(x = 0; x < NUM_DATASETS; ++x) {
/* Create a dataset */
- dset_id = H5Dcreate(file_id, DSETNAME[x], type_id, space_id, H5P_DEFAULT);
+ dset_id = H5Dcreate2(file_id, DSETNAME[x], type_id, space_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
if(dset_id < 0) goto error;
/* Create an attribute on the dataset */