summaryrefslogtreecommitdiffstats
path: root/test/th5p.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/th5p.c')
-rw-r--r--test/th5p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/th5p.c b/test/th5p.c
index af9100a..e856e3c 100644
--- a/test/th5p.c
+++ b/test/th5p.c
@@ -70,7 +70,7 @@ test_h5p_basic(void)
MESSAGE(5, ("Testing Datatype Manipulation\n"));
/* Create file */
- fid1 = H5Fcreate(FILE, H5ACC_OVERWRITE, 0, 0);
+ fid1 = H5Fcreate(FILE, H5F_ACC_TRUNC, H5C_DEFAULT, H5C_DEFAULT);
CHECK(fid1, FAIL, "H5Fcreate");
sid1 = H5Pcreate_simple(SPACE1_RANK, dims1, NULL);