summaryrefslogtreecommitdiffstats
path: root/src/H5Dmpio.c
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2017-07-05 13:48:24 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2017-07-05 13:48:24 (GMT)
commita2cdec5ab3313b67212676830ed8b1fdac2e6eef (patch)
treecbf3e808ef5c1e15bb08e6b2919f8f126110f7bb /src/H5Dmpio.c
parent3ce78d0d8d8bb23e887ccd694b86dfcd5c96176c (diff)
downloadhdf5-a2cdec5ab3313b67212676830ed8b1fdac2e6eef.zip
hdf5-a2cdec5ab3313b67212676830ed8b1fdac2e6eef.tar.gz
hdf5-a2cdec5ab3313b67212676830ed8b1fdac2e6eef.tar.bz2
Remove use of H5E_CANTDISTRIBUTE error
Diffstat (limited to 'src/H5Dmpio.c')
-rw-r--r--src/H5Dmpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c
index e818c3f..5e2ee6a 100644
--- a/src/H5Dmpio.c
+++ b/src/H5Dmpio.c
@@ -2684,7 +2684,7 @@ H5D__construct_filtered_io_info_list(const H5D_io_info_t *io_info, const H5D_typ
/* Redistribute shared chunks to new owners as necessary */
if (io_info->op_type == H5D_IO_OP_WRITE)
if (H5D__chunk_redistribute_shared_chunks(io_info, type_info, fm, local_info_array, &num_chunks_selected) < 0)
- HGOTO_ERROR(H5E_DATASET, H5E_CANTDISTRIBUTE, FAIL, "unable to redistribute shared chunks")
+ HGOTO_ERROR(H5E_DATASET, H5E_WRITEERROR, FAIL, "unable to redistribute shared chunks")
*chunk_list = local_info_array;
*num_entries = num_chunks_selected;