diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-04-08 00:41:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-04-08 00:41:27 (GMT) |
commit | 227c58bd98436166cfca202df93c9acc36c5cb30 (patch) | |
tree | 6f025ea787e4a2c2e0069704d0ca80a108683c2f /src | |
parent | 6fac25937f0fd4fc1675b2dd221cb1f85de73a07 (diff) | |
download | hdf5-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
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Dio.c | 4 |
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 */ |