summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-11-21 17:01:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-11-21 17:01:10 (GMT)
commitdb8fa602a60a8eb369edd6e04ef9dc52a394cd47 (patch)
treed0a276ebfea1a62c79e098706ee017f9d35f63c3
parent2edb830946409536432d28520284e4b5eec2d32e (diff)
downloadhdf5-db8fa602a60a8eb369edd6e04ef9dc52a394cd47.zip
hdf5-db8fa602a60a8eb369edd6e04ef9dc52a394cd47.tar.gz
hdf5-db8fa602a60a8eb369edd6e04ef9dc52a394cd47.tar.bz2
[svn-r4634] Purpose:
Bug fix Description: A couple more compile problems from the recent elimination of IDs from internal function calls. Platforms tested: IRIX64 6.5 (modi4)
-rw-r--r--src/H5FDmpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c
index e521f33..9209050 100644
--- a/src/H5FDmpio.c
+++ b/src/H5FDmpio.c
@@ -308,7 +308,7 @@ H5Pget_fapl_mpio(hid_t fapl_id, MPI_Comm *comm/*out*/, MPI_Info *info/*out*/)
if(TRUE!=H5P_isa_class(fapl_id,H5P_FILE_ACCESS) || NULL == (plist = H5I_object(fapl_id)))
HRETURN_ERROR(H5E_PLIST, H5E_BADTYPE, FAIL, "not a file access list");
- if (H5FD_MPIO!=H5P_get_driver(fapl_id))
+ if (H5FD_MPIO!=H5P_get_driver(plist))
HRETURN_ERROR(H5E_PLIST, H5E_BADVALUE, FAIL, "incorrect VFL driver");
if (NULL==(fa=H5P_get_driver_info(plist)))
HRETURN_ERROR(H5E_PLIST, H5E_BADVALUE, FAIL, "bad VFL driver info");
@@ -734,7 +734,7 @@ H5FD_mpio_open(const char *name, unsigned flags, hid_t fapl_id,
/* Obtain a pointer to mpio-specific file access properties */
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");
if (H5P_DEFAULT==fapl_id || H5FD_MPIO!=H5P_get_driver(plist)) {
_fa.comm = MPI_COMM_SELF; /*default*/
_fa.info = MPI_INFO_NULL; /*default*/