summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2019-11-12 18:06:52 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2019-11-12 18:09:43 (GMT)
commite5fc4889fa4f412056a4672435c96c17a6d1a936 (patch)
tree5c47f481813bf92b62a31b81762f471cedc9248b /src/H5F.c
parent78dfcd4658e9b2c00a6747d7f84dd8f570373e97 (diff)
downloadhdf5-e5fc4889fa4f412056a4672435c96c17a6d1a936.zip
hdf5-e5fc4889fa4f412056a4672435c96c17a6d1a936.tar.gz
hdf5-e5fc4889fa4f412056a4672435c96c17a6d1a936.tar.bz2
Fix issue where H5R__reopen_file did not make the file "post open"
callback.
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 35176fc..b395ccc 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -768,7 +768,7 @@ H5Fopen(const char *filename, unsigned flags, hid_t fapl_id)
/* Get the file object */
if(NULL == (vol_obj = H5VL_vol_object(ret_value)))
- HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "invalid object identifier")
+ HGOTO_ERROR(H5E_FILE, H5E_CANTGET, H5I_INVALID_HID, "invalid object identifier")
/* Make the post open callback */
if(H5VL_file_specific(vol_obj, H5VL_FILE_POST_OPEN, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL) < 0)