summaryrefslogtreecommitdiffstats
path: root/src/H5VL.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-12-27 16:56:43 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-12-27 16:56:43 (GMT)
commit9152547b766919eefb7163e17f0c03052a2d73f2 (patch)
treee3fa0961f763f8eae4fc1a20ac2ee20cdf275b60 /src/H5VL.c
parent7d28a4295ebac24dd0a84da9f4b880488d8bd32f (diff)
downloadhdf5-9152547b766919eefb7163e17f0c03052a2d73f2.zip
hdf5-9152547b766919eefb7163e17f0c03052a2d73f2.tar.gz
hdf5-9152547b766919eefb7163e17f0c03052a2d73f2.tar.bz2
H5VLregister_by_value() should not set _BY_NAME when searching for
plugins.
Diffstat (limited to 'src/H5VL.c')
-rw-r--r--src/H5VL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5VL.c b/src/H5VL.c
index eedf68d..bf1201f 100644
--- a/src/H5VL.c
+++ b/src/H5VL.c
@@ -295,7 +295,7 @@ H5VLregister_connector_by_value(H5VL_class_value_t value, hid_t vipl_id)
const H5VL_class_t *cls;
/* Try loading the connector */
- key.vol.kind = H5VL_GET_CONNECTOR_BY_NAME;
+ key.vol.kind = H5VL_GET_CONNECTOR_BY_VALUE;
key.vol.u.value = value;
if(NULL == (cls = (const H5VL_class_t *)H5PL_load(H5PL_TYPE_VOL, &key)))
HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, H5I_INVALID_HID, "unable to load VOL connector")