From 60c9d88951866b4f8c9d0b8b7a04ac5a31d00edb Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 9 Aug 2012 18:57:57 -0500 Subject: [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). --- src/H5FDcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12