summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSongyu Lu <songyulu@barracuda.ad.hdfgroup.org>2018-11-14 20:54:03 (GMT)
committerSongyu Lu <songyulu@barracuda.ad.hdfgroup.org>2018-11-14 20:54:03 (GMT)
commit1d89a55590d106ea4d242402d0cd57a9d1ce5252 (patch)
treebeb04db94c640b5e8e4d7e76cc6beb95bc05d536
parent78af4c21cb717d400141d5ed15505e8257497ec9 (diff)
downloadhdf5-1d89a55590d106ea4d242402d0cd57a9d1ce5252.zip
hdf5-1d89a55590d106ea4d242402d0cd57a9d1ce5252.tar.gz
hdf5-1d89a55590d106ea4d242402d0cd57a9d1ce5252.tar.bz2
HDFFV-10571: Minor change - revised the comment to be clearer.
-rw-r--r--src/H5Dchunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index fabae54..659d580 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -697,7 +697,7 @@ H5D__chunk_set_info_real(H5O_layout_chunk_t *layout, unsigned ndims,
for(u = 0, layout->nchunks = 1, layout->max_nchunks = 1; u < ndims; u++) {
/* Just in case that something goes very wrong, such as file corruption. */
if(layout->dim[u] == 0)
- HGOTO_ERROR(H5E_DATASET, H5E_BADVALUE, FAIL, "chunk size must be positive: layout->dim[%u] = %u ", u, layout->dim[u])
+ HGOTO_ERROR(H5E_DATASET, H5E_BADVALUE, FAIL, "chunk dimension must be positive: layout->dim[%u] = %u ", u, layout->dim[u])
/* Round up to the next integer # of chunks, to accommodate partial chunks */
layout->chunks[u] = ((curr_dims[u] + layout->dim[u]) - 1) / layout->dim[u];