summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2012-08-09 23:58:37 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2012-08-09 23:58:37 (GMT)
commit6acaf24bdddd37fdf9301671261611e221d7a30a (patch)
tree2dffc8418167839a30f9de6bb9ea4db06d3bab1c
parent4e22de6e907a805e5b2a3b7d444ab4aa333619f2 (diff)
downloadhdf5-6acaf24bdddd37fdf9301671261611e221d7a30a.zip
hdf5-6acaf24bdddd37fdf9301671261611e221d7a30a.tar.gz
hdf5-6acaf24bdddd37fdf9301671261611e221d7a30a.tar.bz2
[svn-r22658] Bug fix: previous commit has a mistake--it used the wrong type of return
value of FAIL. The function type is a pointer. Fixed it by changing it to NULL. Tested: In remote machine ADA (aix).
-rw-r--r--src/H5FDcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c
index 94ddc4d..5080dfc 100644
--- a/src/H5FDcore.c
+++ b/src/H5FDcore.c
@@ -427,7 +427,7 @@ H5FD_core_open(const char *name, unsigned flags, hid_t fapl_id,
if(NULL == (plist = (H5P_genplist_t *)H5I_object(fapl_id)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a file access property list")
if(NULL == (fa = (H5FD_core_fapl_t *)H5P_get_driver_info(plist)))
- HGOTO_ERROR(H5E_PLIST, H5E_BADVALUE, FAIL, "bad VFL driver info")
+ HGOTO_ERROR(H5E_PLIST, H5E_BADVALUE, NULL, "bad VFL driver info")
/* Build the open flags */
o_flags = (H5F_ACC_RDWR & flags) ? O_RDWR : O_RDONLY;