summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-04-08 00:41:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-04-08 00:41:27 (GMT)
commit227c58bd98436166cfca202df93c9acc36c5cb30 (patch)
tree6f025ea787e4a2c2e0069704d0ca80a108683c2f
parent6fac25937f0fd4fc1675b2dd221cb1f85de73a07 (diff)
downloadhdf5-227c58bd98436166cfca202df93c9acc36c5cb30.zip
hdf5-227c58bd98436166cfca202df93c9acc36c5cb30.tar.gz
hdf5-227c58bd98436166cfca202df93c9acc36c5cb30.tar.bz2
[svn-r10574] Purpose:
Code cleanup Description: Clarify error string. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
-rw-r--r--src/H5Dio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index 67bc733..bf0d09d 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -562,7 +562,7 @@ H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id,
/* Check for valid selection */
if (H5S_SELECT_VALID(mem_space)!=TRUE)
- HGOTO_ERROR(H5E_DATASPACE, H5E_BADRANGE, FAIL, "selection+offset not within extent")
+ HGOTO_ERROR(H5E_DATASPACE, H5E_BADRANGE, FAIL, "memory selection+offset not within extent")
}
if (H5S_ALL != file_space_id) {
if (NULL == (file_space = H5I_object_verify(file_space_id, H5I_DATASPACE)))
@@ -570,7 +570,7 @@ H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id,
/* Check for valid selection */
if (H5S_SELECT_VALID(file_space)!=TRUE)
- HGOTO_ERROR(H5E_DATASPACE, H5E_BADRANGE, FAIL, "selection+offset not within extent")
+ HGOTO_ERROR(H5E_DATASPACE, H5E_BADRANGE, FAIL, "file selection+offset not within extent")
}
/* Get the default dataset transfer property list if the user didn't provide one */