summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2019-11-26 01:07:44 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:17 (GMT)
commite1f67e86108f701ed0cfa87c74bcf23b127ba1e7 (patch)
tree568dcbfe79f32cb573414b75c6a14312a58fb34a /src/H5O.c
parent77144641dfb63077623a7b7c3e30a30e4f1a3e10 (diff)
downloadhdf5-e1f67e86108f701ed0cfa87c74bcf23b127ba1e7.zip
hdf5-e1f67e86108f701ed0cfa87c74bcf23b127ba1e7.tar.gz
hdf5-e1f67e86108f701ed0cfa87c74bcf23b127ba1e7.tar.bz2
Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILE
Remove H5F__get_file_id() and use only private routine instead
Diffstat (limited to 'src/H5O.c')
-rw-r--r--src/H5O.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5O.c b/src/H5O.c
index b79914c..7e5694a 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -278,7 +278,7 @@ H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "invalid location identifier")
/* Get the file for the object */
- if((file_id = H5F_get_file_id(loc_id, vol_obj_type, FALSE)) < 0)
+ if((file_id = H5F_get_file_id(vol_obj, vol_obj_type, FALSE)) < 0)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "not a file or file object")
/* Retrieve VOL object */