diff options
author | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2018-06-14 14:17:06 (GMT) |
---|---|---|
committer | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2018-06-14 14:17:06 (GMT) |
commit | 57f64b92d19fed2879ee9bafe1d29bfac865d54c (patch) | |
tree | cd9312030109ab8566573dbd5a0bd0cc48f0902a /src/H5Rint.c | |
parent | 88b690c08c2159140bb76b743c671c09be966754 (diff) | |
parent | f62969a76ae019cc5109a0d8c7c5b48b8cb95080 (diff) | |
download | hdf5-57f64b92d19fed2879ee9bafe1d29bfac865d54c.zip hdf5-57f64b92d19fed2879ee9bafe1d29bfac865d54c.tar.gz hdf5-57f64b92d19fed2879ee9bafe1d29bfac865d54c.tar.bz2 |
Merge branch 'develop' into hdf5_1_10.sync
Diffstat (limited to 'src/H5Rint.c')
-rw-r--r-- | src/H5Rint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Rint.c b/src/H5Rint.c index e3b11c0..12b4878 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) |