diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-06-06 05:20:22 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2018-06-06 05:20:22 (GMT) |
commit | 1a5e7d821bb13b63132af16b74ab58876cbb6545 (patch) | |
tree | aa6a4ae3b83579031260b82b3be00abf2824ccb6 /src/H5Rint.c | |
parent | afc6beb7760d2c7ee13f2456deac3da4e1ae4b2e (diff) | |
download | hdf5-1a5e7d821bb13b63132af16b74ab58876cbb6545.zip hdf5-1a5e7d821bb13b63132af16b74ab58876cbb6545.tar.gz hdf5-1a5e7d821bb13b63132af16b74ab58876cbb6545.tar.bz2 |
Normalization with the vol_integration branch.
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 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) |