summaryrefslogtreecommitdiffstats
path: root/tools/lib/talign.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/talign.c')
-rw-r--r--tools/lib/talign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/talign.c b/tools/lib/talign.c
index 5c4f88d..91cec99 100644
--- a/tools/lib/talign.c
+++ b/tools/lib/talign.c
@@ -91,7 +91,7 @@ int main(void)
H5Tinsert(cmp3, "Not Ok", 0, array_dt);
H5Tclose(array_dt);
- plist = H5Pcreate(H5P_DATASET_XFER);
+ plist = H5Pcreate_list(H5P_DATASET_XFER_NEW);
H5Pset_preserve(plist, 1);
/*
@@ -166,7 +166,7 @@ int main(void)
H5Tclose(cmp1);
H5Tclose(cmp2);
H5Tclose(cmp3);
- H5Pclose(plist);
+ H5Pclose_list(plist);
H5Fclose(fil);
unlink(fname);
fflush(stdout);