diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2020-12-12 03:25:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-12 03:25:24 (GMT) |
commit | 9e72b7f834eba0e7225bbec858da14431e0c6954 (patch) | |
tree | 0f98c594f5fc16c7db4f1df20c45498aba82cbc8 /src/H5F.c | |
parent | 71a7ad0e075b8bcb104a62a177115efbf85ae91e (diff) | |
download | hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.zip hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.tar.gz hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.tar.bz2 |
Minor normalization with the async branch (#159)
* Minor normalization with the async branch
* Update CMake and the Autotools to use the new pass-through VOL ID
Diffstat (limited to 'src/H5F.c')
-rw-r--r-- | src/H5F.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -742,19 +742,19 @@ H5Fdelete(const char *filename, hid_t fapl_id) /* Verify access property list and set up collective metadata if appropriate */ if (H5CX_set_apl(&fapl_id, H5P_CLS_FACC, H5I_INVALID_HID, TRUE) < 0) - HGOTO_ERROR(H5E_FILE, H5E_CANTSET, H5I_INVALID_HID, "can't set access property list info") + HGOTO_ERROR(H5E_FILE, H5E_CANTSET, FAIL, "can't set access property list info") /* Get the VOL info from the fapl */ if (NULL == (plist = (H5P_genplist_t *)H5I_object_verify(fapl_id, H5I_GENPROP_LST))) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "not a property list") + HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a property list") if (H5P_peek(plist, H5F_ACS_VOL_CONN_NAME, &connector_prop) < 0) - HGOTO_ERROR(H5E_FILE, H5E_CANTGET, H5I_INVALID_HID, "can't get VOL connector info") + HGOTO_ERROR(H5E_FILE, H5E_CANTGET, FAIL, "can't get VOL connector info") /* Stash a copy of the "top-level" connector property, before any pass-through * connectors modify or unwrap it. */ if (H5CX_set_vol_connector_prop(&connector_prop) < 0) - HGOTO_ERROR(H5E_FILE, H5E_CANTSET, H5I_INVALID_HID, "can't set VOL connector info in API context") + HGOTO_ERROR(H5E_FILE, H5E_CANTSET, FAIL, "can't set VOL connector info in API context") /* Make sure this is HDF5 storage for this VOL connector */ if (H5VL_file_specific(NULL, H5VL_FILE_IS_ACCESSIBLE, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, fapl_id, |