summaryrefslogtreecommitdiffstats
path: root/examples/Attributes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Attributes.txt')
-rw-r--r--examples/Attributes.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Attributes.txt b/examples/Attributes.txt
index e32601c..299451b 100644
--- a/examples/Attributes.txt
+++ b/examples/Attributes.txt
@@ -22,7 +22,7 @@ H5Acreate2 example: Show how to create an attribute for a dataset and a group
dataspace = H5Screate_simple(rank, dimsf, NULL);
/* Create a dataset */
- dataset = H5Dcreate(file, "Dataset1", H5T_UINT8, dataspace, H5P_DEFAULT);
+ dataset = H5Dcreate2(file, "Dataset1", H5T_UINT8, dataspace, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
<Write data to first dataset>