diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-06-13 21:58:58 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-06-13 21:58:58 (GMT) |
commit | 650f9e616dbb60aa8ef1706a6968aacd1c23a568 (patch) | |
tree | 3706988dbb96e076b82246036e6d7117e4221702 /src/H5Fint.c | |
parent | 054059a30c081a88e0a2dfe05d036d617f434e55 (diff) | |
parent | bb5e7822f447b8a175e807e2e7bad5e0192394e5 (diff) | |
download | hdf5-650f9e616dbb60aa8ef1706a6968aacd1c23a568.zip hdf5-650f9e616dbb60aa8ef1706a6968aacd1c23a568.tar.gz hdf5-650f9e616dbb60aa8ef1706a6968aacd1c23a568.tar.bz2 |
Merge pull request #1727 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:H5Fdelete_vol_only to develop
* commit 'bb5e7822f447b8a175e807e2e7bad5e0192394e5':
Fixed an error string typo
Added H5Fdelete call and VOL support (but no VFD/native implementation).
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r-- | src/H5Fint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index 2e8771c..ee9afed 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -863,7 +863,7 @@ H5F__is_hdf5(const char *name, hid_t fapl_id) * should work with arbitrary VFDs, unlike H5Fis_hdf5(). */ if(NULL == (file = H5FD_open(name, H5F_ACC_RDONLY, fapl_id, HADDR_UNDEF))) - HGOTO_ERROR(H5E_IO, H5E_CANTINIT, FAIL, "unable to open file") + HGOTO_ERROR(H5E_FILE, H5E_CANTINIT, FAIL, "unable to open file") /* The file is an hdf5 file if the hdf5 file signature can be found */ if(H5FD_locate_signature(file, &sig_addr) < 0) @@ -874,7 +874,7 @@ done: /* Close the file */ if(file) if(H5FD_close(file) < 0 && TRUE == ret_value) - HDONE_ERROR(H5E_IO, H5E_CANTCLOSEFILE, FAIL, "unable to close file") + HDONE_ERROR(H5E_FILE, H5E_CANTCLOSEFILE, FAIL, "unable to close file") FUNC_LEAVE_NOAPI(ret_value) } /* end H5F__is_hdf5() */ |