summaryrefslogtreecommitdiffstats
path: root/hl/test/test_ds.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-02-05 18:38:20 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-02-05 18:38:20 (GMT)
commitf325002db905f7da14e66a3bb30ac508d0cfb7fa (patch)
treee5bab0dc30cdeee8d4e4e0c5c899bd4c32e1ca71 /hl/test/test_ds.c
parentffa2dec25d69ba2d530c5eb60e07d6618562017a (diff)
downloadhdf5-f325002db905f7da14e66a3bb30ac508d0cfb7fa.zip
hdf5-f325002db905f7da14e66a3bb30ac508d0cfb7fa.tar.gz
hdf5-f325002db905f7da14e66a3bb30ac508d0cfb7fa.tar.bz2
HDFFV-10345 spelling errors
Diffstat (limited to 'hl/test/test_ds.c')
-rw-r--r--hl/test/test_ds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hl/test/test_ds.c b/hl/test/test_ds.c
index 91f1505..49dc72f 100644
--- a/hl/test/test_ds.c
+++ b/hl/test/test_ds.c
@@ -3080,7 +3080,7 @@ static int test_simple(void)
/*-------------------------------------------------------------------------
- * get the label using a static buffer smaller than the string lenght
+ * get the label using a static buffer smaller than the string length
*-------------------------------------------------------------------------
*/
@@ -3118,7 +3118,7 @@ static int test_simple(void)
*-------------------------------------------------------------------------
*/
- /* get the lenght of the scale name (pass NULL in name) */
+ /* get the length of the scale name (pass NULL in name) */
if((name_len=H5DSget_scale_name(dsid,NULL,(size_t)0)) < 0)
goto out;
@@ -3151,7 +3151,7 @@ static int test_simple(void)
goto out;
/*-------------------------------------------------------------------------
- * get the scale name using a static buffer smaller than the string lenght
+ * get the scale name using a static buffer smaller than the string length
*-------------------------------------------------------------------------
*/
@@ -4925,7 +4925,7 @@ static int test_errors2(void)
hsize_t dimd[2] = {3,3}; /* size of data dataset */
hsize_t dims[1] = {3}; /* size of scale dataset */
char lbuf[255]; /* label buffer */
- ssize_t label_len; /* label lenght */
+ ssize_t label_len; /* label length */
int scale_idx; /* scale index */
int nscales; /* number of scales in DIM */
int count; /* visitor data */