From 3411556e98fc4cd6a01f7550e78d462810156695 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 12 Oct 2004 15:59:36 -0500 Subject: [svn-r9414] Purpose: Code cleanup Description: Fix a couple of return values from NULL -> FAIL. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest --- src/H5Dio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5Dio.c b/src/H5Dio.c index d61ea11..d74fa83 100644 --- a/src/H5Dio.c +++ b/src/H5Dio.c @@ -3268,12 +3268,12 @@ H5D_ioinfo_init(H5D_t *dset, const H5D_dxpl_cache_t *dxpl_cache, hid_t dxpl_id, */ opt=H5D_mpio_opt_possible(dset,mem_space,file_space,flags); if(opt==FAIL) - HGOTO_ERROR(H5E_DATASPACE, H5E_BADRANGE, NULL, "invalid check for direct IO dataspace "); + HGOTO_ERROR(H5E_DATASPACE, H5E_BADRANGE, FAIL, "invalid check for direct IO dataspace "); opt = H5D_get_collective_io_consensus(dset->ent.file, opt, flags); if ( opt == FAIL ) - HGOTO_ERROR(H5E_DATASPACE, H5E_BADRANGE, NULL, \ + HGOTO_ERROR(H5E_DATASPACE, H5E_BADRANGE, FAIL, \ "check for collective I/O consensus failed."); /* Check if we can use the optimized parallel I/O routines */ -- cgit v0.12