From 2a2d3b21aafa2559c49fd0c47ef2690c1efbd856 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 21 Nov 2001 10:06:25 -0500 Subject: [svn-r4631] Purpose: Bug fix Description: Fixed return type from FAIL to NULL. Platforms tested: Daily tests on SGI machines. --- src/H5FDstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5FDstream.c b/src/H5FDstream.c index f8753ae..7572e45 100644 --- a/src/H5FDstream.c +++ b/src/H5FDstream.c @@ -676,7 +676,7 @@ static H5FD_t *H5FD_stream_open (const char *filename, if (H5P_DEFAULT != fapl_id) { if(TRUE!=H5P_isa_class(fapl_id,H5P_FILE_ACCESS) || NULL == (plist = H5I_object(fapl_id))) - HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file access property list"); + HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a file access property list"); fapl = H5P_get_driver_info (plist); } if (fapl == NULL) -- cgit v0.12