summaryrefslogtreecommitdiffstats
path: root/examples/h5ff_client_adv_analysis.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5ff_client_adv_analysis.c')
-rw-r--r--examples/h5ff_client_adv_analysis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5ff_client_adv_analysis.c b/examples/h5ff_client_adv_analysis.c
index 784d928..14de9c2 100644
--- a/examples/h5ff_client_adv_analysis.c
+++ b/examples/h5ff_client_adv_analysis.c
@@ -82,7 +82,7 @@ write_dataset(hid_t group_id, const char *dataset_name,
void *buf, hid_t trans_id, hid_t estack_id)
{
hid_t dataset_id;
- hid_t space_id;
+ hid_t space_id, dcpl_id;
hsize_t dims[2] = {ntuples, ncomponents};
int rank = (ncomponents == 1) ? 1 : 2;
herr_t ret;
@@ -93,7 +93,7 @@ write_dataset(hid_t group_id, const char *dataset_name,
/* Create a dataset. */
dataset_id = H5Dcreate_ff(group_id, dataset_name, datatype_id, space_id,
- H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT, trans_id, estack_id);
+ H5P_DEFAULT, dcpl_id, H5P_DEFAULT, trans_id, estack_id);
assert(dataset_id);
/* Write the first dataset. */