summaryrefslogtreecommitdiffstats
path: root/examples/h5dsm_file_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5dsm_file_create.c')
-rw-r--r--examples/h5dsm_file_create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5dsm_file_create.c b/examples/h5dsm_file_create.c
index cb28778..9d34dec 100644
--- a/examples/h5dsm_file_create.c
+++ b/examples/h5dsm_file_create.c
@@ -2,7 +2,7 @@
int main(int argc, char *argv[]) {
uuid_t pool_uuid;
- char *pool_grp = "daos_tier0";
+ char *pool_grp = NULL;
hid_t file = -1, fapl = -1;
(void)MPI_Init(&argc, &argv);
@@ -22,7 +22,7 @@ int main(int argc, char *argv[]) {
ERROR;
/* Create file */
- if((file = H5Fcreate_ff(argv[2], H5F_ACC_TRUNC, H5P_DEFAULT, fapl, NULL)) < 0)
+ if((file = H5Fcreate(argv[2], H5F_ACC_TRUNC, H5P_DEFAULT, fapl)) < 0)
ERROR;
/* Close */