From f102816b0f9aff886c460f3889cdca1be003ec65 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 12 Oct 2004 15:59:32 -0500 Subject: [svn-r9413] 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 5ad5b53..941801c 100644 --- a/src/H5Dio.c +++ b/src/H5Dio.c @@ -3296,12 +3296,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