diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-03-29 20:06:05 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-03-29 20:06:05 (GMT) |
commit | 668df7889cdb78ddf5c05ba6846794991d1ed826 (patch) | |
tree | 6bfc490af8fd64cd8ff12def5425d1397e6ae610 /src/H5Pfapl.c | |
parent | 3d32d25d8fe666bddff0717dd67952f2602d80ab (diff) | |
download | hdf5-668df7889cdb78ddf5c05ba6846794991d1ed826.zip hdf5-668df7889cdb78ddf5c05ba6846794991d1ed826.tar.gz hdf5-668df7889cdb78ddf5c05ba6846794991d1ed826.tar.bz2 |
[svn-r22194] - fix bug in set_vol_fapl to fix case when a vol is set explicitly by the user
- remove the num_args parameter from the VOL GET callbacks
Diffstat (limited to 'src/H5Pfapl.c')
-rw-r--r-- | src/H5Pfapl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Pfapl.c b/src/H5Pfapl.c index 13effa6..c75cf61 100644 --- a/src/H5Pfapl.c +++ b/src/H5Pfapl.c @@ -2170,7 +2170,7 @@ H5P_set_vol(H5P_genplist_t *plist, H5VL_class_t *vol_cls) FUNC_ENTER_NOAPI(FAIL) /* Get the current vol information */ - if(H5P_get(plist, H5F_ACS_VOL_NAME, old_vol_cls) < 0) + if(H5P_get(plist, H5F_ACS_VOL_NAME, &old_vol_cls) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get vol ID") /* Close the vol for the property list */ |