diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2020-01-03 05:51:25 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2020-01-03 18:43:51 (GMT) |
commit | ccf177344ae2d4b03802adecc08a6cc956a7dac5 (patch) | |
tree | c64767e1b87851109fc0cfa8acc6aac633a24735 /src/H5Tcommit.c | |
parent | 041b14c876cc7466da7868ef563563c879951ad6 (diff) | |
download | hdf5-ccf177344ae2d4b03802adecc08a6cc956a7dac5.zip hdf5-ccf177344ae2d4b03802adecc08a6cc956a7dac5.tar.gz hdf5-ccf177344ae2d4b03802adecc08a6cc956a7dac5.tar.bz2 |
Fix some places where H5P_DEFAULT gets passed down to a VOL connector
Diffstat (limited to 'src/H5Tcommit.c')
-rw-r--r-- | src/H5Tcommit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c index e5d12c0..5c848c2 100644 --- a/src/H5Tcommit.c +++ b/src/H5Tcommit.c @@ -306,7 +306,8 @@ H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "invalid file identifier") /* Commit the datatype */ - if(NULL == (dt = H5VL_datatype_commit(vol_obj, &loc_params, NULL, type_id, H5P_DEFAULT, tcpl_id, tapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL))) + if(NULL == (dt = H5VL_datatype_commit(vol_obj, &loc_params, NULL, type_id, H5P_LINK_CREATE_DEFAULT, + tcpl_id, tapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL))) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "unable to commit datatype") /* Setup VOL object */ |