summaryrefslogtreecommitdiffstats
path: root/src/H5Fmpi.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-08-22 22:06:00 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2019-08-22 22:06:00 (GMT)
commitf42c7cc0d85cc5b232afd621711fdbd64f6e19d9 (patch)
treee68eda1f03f26c2c6a08b638b78e5b4ea71d3caf /src/H5Fmpi.c
parentc36d2eeae7eac6012b2061e308040ea260f4f392 (diff)
downloadhdf5-f42c7cc0d85cc5b232afd621711fdbd64f6e19d9.zip
hdf5-f42c7cc0d85cc5b232afd621711fdbd64f6e19d9.tar.gz
hdf5-f42c7cc0d85cc5b232afd621711fdbd64f6e19d9.tar.bz2
Fix major error codes
Diffstat (limited to 'src/H5Fmpi.c')
-rw-r--r--src/H5Fmpi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Fmpi.c b/src/H5Fmpi.c
index 4c0104a..470241b 100644
--- a/src/H5Fmpi.c
+++ b/src/H5Fmpi.c
@@ -130,7 +130,7 @@ H5F_mpi_get_rank(const H5F_t *f)
/* Dispatch to driver */
if ((ret_value = H5FD_mpi_get_rank(f->shared->lf)) < 0)
- HGOTO_ERROR(H5E_VFL, H5E_CANTGET, (-1), "driver get_rank request failed")
+ HGOTO_ERROR(H5E_FILE, H5E_CANTGET, (-1), "driver get_rank request failed")
done:
FUNC_LEAVE_NOAPI(ret_value)
@@ -162,7 +162,7 @@ H5F_mpi_get_comm(const H5F_t *f)
/* Dispatch to driver */
if ((ret_value = H5FD_mpi_get_comm(f->shared->lf)) == MPI_COMM_NULL)
- HGOTO_ERROR(H5E_VFL, H5E_CANTGET, MPI_COMM_NULL, "driver get_comm request failed")
+ HGOTO_ERROR(H5E_FILE, H5E_CANTGET, MPI_COMM_NULL, "driver get_comm request failed")
done:
FUNC_LEAVE_NOAPI(ret_value)
@@ -194,7 +194,7 @@ H5F_shared_mpi_get_size(const H5F_shared_t *f_sh)
/* Dispatch to driver */
if((ret_value = H5FD_mpi_get_size(f_sh->lf)) < 0)
- HGOTO_ERROR(H5E_VFL, H5E_CANTGET, (-1), "driver get_size request failed")
+ HGOTO_ERROR(H5E_FILE, H5E_CANTGET, (-1), "driver get_size request failed")
done:
FUNC_LEAVE_NOAPI(ret_value)
@@ -226,7 +226,7 @@ H5F_mpi_get_size(const H5F_t *f)
/* Dispatch to driver */
if ((ret_value = H5FD_mpi_get_size(f->shared->lf)) < 0)
- HGOTO_ERROR(H5E_VFL, H5E_CANTGET, (-1), "driver get_size request failed")
+ HGOTO_ERROR(H5E_FILE, H5E_CANTGET, (-1), "driver get_size request failed")
done:
FUNC_LEAVE_NOAPI(ret_value)