summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2012-08-09 23:57:57 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2012-08-09 23:57:57 (GMT)
commit60c9d88951866b4f8c9d0b8b7a04ac5a31d00edb (patch)
treee12c2f7cecb26688d47685a390603c4f736b40ae /src
parentc3247876b11e85af59ac83fbb9d6d206d482cfbe (diff)
downloadhdf5-60c9d88951866b4f8c9d0b8b7a04ac5a31d00edb.zip
hdf5-60c9d88951866b4f8c9d0b8b7a04ac5a31d00edb.tar.gz
hdf5-60c9d88951866b4f8c9d0b8b7a04ac5a31d00edb.tar.bz2
[svn-r22657] 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).
Diffstat (limited to 'src')
-rw-r--r--src/H5FDcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c
index 5b73866..8e2cf2a 100644
--- a/src/H5FDcore.c
+++ b/src/H5FDcore.c
@@ -429,7 +429,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;