summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-10-12 20:59:32 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-10-12 20:59:32 (GMT)
commitf102816b0f9aff886c460f3889cdca1be003ec65 (patch)
tree782086c1943800a807119ff6fa2682612e4844d5 /src
parente74b160268c41c8e1c9c63248b4f628775267cb0 (diff)
downloadhdf5-f102816b0f9aff886c460f3889cdca1be003ec65.zip
hdf5-f102816b0f9aff886c460f3889cdca1be003ec65.tar.gz
hdf5-f102816b0f9aff886c460f3889cdca1be003ec65.tar.bz2
[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
Diffstat (limited to 'src')
-rw-r--r--src/H5Dio.c4
1 files 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 */