summaryrefslogtreecommitdiffstats
path: root/src/H5PL.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-09-15 18:30:00 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-09-15 18:30:00 (GMT)
commite0ccecfeb185193b45d84728f77c382ff4d3c610 (patch)
tree98df20cf513e636a32781c627748e48a87121333 /src/H5PL.c
parentcefacc4de4e59963fd1f2d41bb62109ad2b897d9 (diff)
downloadhdf5-e0ccecfeb185193b45d84728f77c382ff4d3c610.zip
hdf5-e0ccecfeb185193b45d84728f77c382ff4d3c610.tar.gz
hdf5-e0ccecfeb185193b45d84728f77c382ff4d3c610.tar.bz2
[svn-r25593] - rename values for VOL class.
- add more sanity checks in H5VL APIs.
Diffstat (limited to 'src/H5PL.c')
-rw-r--r--src/H5PL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5PL.c b/src/H5PL.c
index 3ec66e8..96d2e84 100644
--- a/src/H5PL.c
+++ b/src/H5PL.c
@@ -622,7 +622,7 @@ H5PL__open(H5PL_type_t pl_type, char *libname, int pl_id, const char *pl_name, c
} /* end if */
/* Successfully found plugin library, check if it's the right one */
- if((pl_id > MAX_VOL_LIB_VALUE && plugin_info->value == pl_id) ||
+ if((pl_id > H5_VOL_MAX_LIB_VALUE && plugin_info->value == pl_id) ||
(pl_name && !strcmp(pl_name, plugin_info->name))) {
/* Expand the table if it is too small */
if(H5PL_vol_table_used_g >= H5PL_vol_table_alloc_g) {