summaryrefslogtreecommitdiffstats
path: root/src/H5Rint.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-06-13 19:21:36 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-06-13 19:21:36 (GMT)
commitf62969a76ae019cc5109a0d8c7c5b48b8cb95080 (patch)
tree5ca22c7d4b57bfeab7c296d6bf9204ee385997e7 /src/H5Rint.c
parent7bebe91ccf05a80b883d2fd9780a35a3d62b4648 (diff)
parent18fbdebb977d7a4dbaa99ec6b153a49e3b4883d5 (diff)
downloadhdf5-f62969a76ae019cc5109a0d8c7c5b48b8cb95080.zip
hdf5-f62969a76ae019cc5109a0d8c7c5b48b8cb95080.tar.gz
hdf5-f62969a76ae019cc5109a0d8c7c5b48b8cb95080.tar.bz2
Merge pull request #1101 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:vi_develop_normalize to develop
* commit '18fbdebb977d7a4dbaa99ec6b153a49e3b4883d5': Cleaned up H5Fmount/unmount code. Normalization with vol_integration branch. Normalization with the vol_integration branch.
Diffstat (limited to 'src/H5Rint.c')
-rw-r--r--src/H5Rint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Rint.c b/src/H5Rint.c
index 761ba44..acf6b56 100644
--- a/src/H5Rint.c
+++ b/src/H5Rint.c
@@ -751,8 +751,8 @@ H5R__get_name(H5F_t *f, hid_t id, H5R_type_t ref_type, const void *_ref,
} /* end switch */
/* Retrieve file ID for name search */
- if ((file_id = H5I_get_file_id(id, FALSE)) < 0)
- HGOTO_ERROR(H5E_REFERENCE, H5E_CANTGET, (-1), "can't retrieve file ID")
+ if ((file_id = H5F_get_id(f, FALSE)) < 0)
+ HGOTO_ERROR(H5E_ATOM, H5E_CANTGET, (-1), "can't get file ID")
/* Get name, length, etc. */
if ((ret_value = H5G_get_name_by_addr(file_id, &oloc, name, size)) < 0)