summaryrefslogtreecommitdiffstats
path: root/src/H5VLnative_file.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-12-06 06:10:02 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-12-06 06:10:02 (GMT)
commitbbd4f7d2a0bea8f984868e2bf88dd1c5f5aa35e8 (patch)
tree2f608f03c68879bc2838fe68bc5ef6c625be60fd /src/H5VLnative_file.c
parent107bcbd3dfff51895c99ea3ff71afa0ce693a956 (diff)
downloadhdf5-bbd4f7d2a0bea8f984868e2bf88dd1c5f5aa35e8.zip
hdf5-bbd4f7d2a0bea8f984868e2bf88dd1c5f5aa35e8.tar.gz
hdf5-bbd4f7d2a0bea8f984868e2bf88dd1c5f5aa35e8.tar.bz2
Minor tweaks noticed while going over VOL documentation.
Diffstat (limited to 'src/H5VLnative_file.c')
-rw-r--r--src/H5VLnative_file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5VLnative_file.c b/src/H5VLnative_file.c
index 588d59f..fb3cb7e 100644
--- a/src/H5VLnative_file.c
+++ b/src/H5VLnative_file.c
@@ -368,14 +368,14 @@ H5VL__native_file_specific(void *obj, H5VL_file_specific_t specific_type,
H5I_type_t type = (H5I_type_t)HDva_arg(arguments, int); /* enum work-around */
const char *name = HDva_arg(arguments, const char *);
H5F_t *child = HDva_arg(arguments, H5F_t *);
- hid_t plist_id = HDva_arg(arguments, hid_t);
+ hid_t fmpl_id = HDva_arg(arguments, hid_t);
H5G_loc_t loc;
if(H5G_loc_real(obj, type, &loc) < 0)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file or file object")
/* Do the mount */
- if(H5F__mount(&loc, name, child, plist_id) < 0)
+ if(H5F__mount(&loc, name, child, fmpl_id) < 0)
HGOTO_ERROR(H5E_FILE, H5E_MOUNT, FAIL, "unable to mount file")
break;
@@ -403,10 +403,10 @@ H5VL__native_file_specific(void *obj, H5VL_file_specific_t specific_type,
{
hid_t fapl_id = HDva_arg(arguments, hid_t);
const char *name = HDva_arg(arguments, const char *);
- htri_t *ret = HDva_arg(arguments, htri_t *);
+ htri_t *result = HDva_arg(arguments, htri_t *);
/* Call private routine */
- if((*ret = H5F__is_hdf5(name, fapl_id)) < 0)
+ if((*result = H5F__is_hdf5(name, fapl_id)) < 0)
HGOTO_ERROR(H5E_FILE, H5E_CANTINIT, FAIL, "error in HDF5 file check")
break;
}