summaryrefslogtreecommitdiffstats
path: root/src/H5Ddeprec.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-06-13 15:48:28 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-06-13 15:48:28 (GMT)
commit8df5a96ccb3d60bc38d9f1b6d0d774d55afbb7a6 (patch)
treee832fadb71d5b27a087e14c2b679a67e20f906ac /src/H5Ddeprec.c
parent3e1e5f166a1316573ea81b96178bb6a4fa3654a2 (diff)
parent25ba47bc97bd7dd3f9f9ee0c13d04c1ea041dd7b (diff)
downloadhdf5-8df5a96ccb3d60bc38d9f1b6d0d774d55afbb7a6.zip
hdf5-8df5a96ccb3d60bc38d9f1b6d0d774d55afbb7a6.tar.gz
hdf5-8df5a96ccb3d60bc38d9f1b6d0d774d55afbb7a6.tar.bz2
[svn-r25275] merge from trunk.
Diffstat (limited to 'src/H5Ddeprec.c')
-rw-r--r--src/H5Ddeprec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Ddeprec.c b/src/H5Ddeprec.c
index 1a4d0e6..d2398c3 100644
--- a/src/H5Ddeprec.c
+++ b/src/H5Ddeprec.c
@@ -143,7 +143,7 @@ H5D__term_deprec_interface(void)
* properties (DCPL_ID).
*
* All arguments are copied into the dataset, so the caller is
- * allowed to derive new types, data spaces, and creation
+ * allowed to derive new types, dataspaces, and creation
* parameters from the old ones and reuse them in calls to
* create other datasets.
*
@@ -366,9 +366,9 @@ H5D__extend(H5D_t *dataset, const hsize_t *size, hid_t dxpl_id)
if((rank = H5S_get_simple_extent_dims(space, curr_dims, NULL)) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't get dataset dimensions")
- /* Increase the size of the data space */
+ /* Increase the size of the dataspace */
if((changed = H5S_extend(space, size)) < 0)
- HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to increase size of data space")
+ HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to increase size of dataspace")
/* Updated the dataset's info if the dataspace was successfully extended */
if(changed) {