summaryrefslogtreecommitdiffstats
path: root/src/H5Distore.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2004-09-29 15:28:25 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2004-09-29 15:28:25 (GMT)
commitdff1653a4f36ded37ed426277068d3db53aa4be2 (patch)
tree23b43104b9037a6a6e1ec9bd76f71ad2e95872a3 /src/H5Distore.c
parent093c14b8db58051b116b4f39dc65247a0c637ad8 (diff)
downloadhdf5-dff1653a4f36ded37ed426277068d3db53aa4be2.zip
hdf5-dff1653a4f36ded37ed426277068d3db53aa4be2.tar.gz
hdf5-dff1653a4f36ded37ed426277068d3db53aa4be2.tar.bz2
[svn-r9335]
Purpose: Bug fix Description: Fix bugs found by daily tests. Platforms tested: copper
Diffstat (limited to 'src/H5Distore.c')
-rw-r--r--src/H5Distore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 172a29b..e670ef7 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -2104,7 +2104,7 @@ HDfprintf(stderr,"%s: mem_offset_arr[%Zu]=%Hu\n",FUNC,*mem_curr_seq,mem_offset_a
|| (IS_H5FD_MPI(f) && (H5F_ACC_RDWR & H5F_get_intent(f)))) {
#ifdef H5_HAVE_PARALLEL
/* Additional sanity check when operating in parallel */
- if (chunk_addr==HADDR_UNDEF || dset->dcpl_cache.pline.nused>0)
+ if (chunk_addr==HADDR_UNDEF || dset->shared->dcpl_cache.pline.nused>0)
HGOTO_ERROR (H5E_IO, H5E_WRITEERROR, FAIL, "unable to locate raw data chunk");
#endif /* H5_HAVE_PARALLEL */
if ((ret_value=H5D_contig_writevv(f, dxpl_id, dset, chunk_addr, (hsize_t)dset->shared->layout.u.chunk.size, chunk_max_nseq, chunk_curr_seq, chunk_len_arr, chunk_offset_arr, mem_max_nseq, mem_curr_seq, mem_len_arr, mem_offset_arr, buf))<0)