diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-12 20:59:36 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-12 20:59:36 (GMT) |
commit | 3411556e98fc4cd6a01f7550e78d462810156695 (patch) | |
tree | 9dc05bd482b8a59906790d60ec5f8b32084ecd6f /src | |
parent | d5a8be949d99c4acf59e86e3992504b4f96cb07b (diff) | |
download | hdf5-3411556e98fc4cd6a01f7550e78d462810156695.zip hdf5-3411556e98fc4cd6a01f7550e78d462810156695.tar.gz hdf5-3411556e98fc4cd6a01f7550e78d462810156695.tar.bz2 |
[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
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Dio.c | 4 |
1 files 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 */ |