summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-10-24 16:03:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-10-24 16:03:09 (GMT)
commit075a32fa0c03beda1cbef88ac7940b75b36454b5 (patch)
treec6fa0f145e6cd5e0b1a5e1567f21dee0e84274e3 /tools
parente7303eb36a8b91da758e8dbe1fe019934e897fdd (diff)
downloadhdf5-075a32fa0c03beda1cbef88ac7940b75b36454b5.zip
hdf5-075a32fa0c03beda1cbef88ac7940b75b36454b5.tar.gz
hdf5-075a32fa0c03beda1cbef88ac7940b75b36454b5.tar.bz2
Fix typos
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools.c10
-rw-r--r--tools/src/h5repack/h5repack_copy.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 6ea5e47..89cb524 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -623,9 +623,9 @@ h5tools_count_ncols(const char *s)
*
* Purpose: Recursive check for any variable length data in given type.
*
- * Return: TRUE : type conatains any variable length data
+ * Return: TRUE : type contains any variable length data
* FALSE : type doesn't contain any variable length data
- * Negative value: error occur
+ * Negative value: failed
*-------------------------------------------------------------------------
*/
htri_t
@@ -652,9 +652,9 @@ done:
*
* Purpose: Recursive check for variable length string of a datatype.
*
- * Return: TRUE : type conatains any variable length string
+ * Return: TRUE : type contains any variable length string
* FALSE : type doesn't contain any variable length string
- * Negative value: error occur
+ * Negative value: failed
*-------------------------------------------------------------------------
*/
htri_t
@@ -1652,7 +1652,7 @@ render_bin_output_region_data_points(hid_t region_space, hid_t region_id,
* Function: render_bin_output_region_points
*
* Purpose: Print some values from a dataset referenced by region points.
- * This is a special case subfunction to dump a region reference using points.
+ * This is a special case function to dump a region reference using points.
*
* Return: False if the last dimension has been reached
* True otherwise
diff --git a/tools/src/h5repack/h5repack_copy.c b/tools/src/h5repack/h5repack_copy.c
index a85ef08..63c26fb 100644
--- a/tools/src/h5repack/h5repack_copy.c
+++ b/tools/src/h5repack/h5repack_copy.c
@@ -1440,7 +1440,7 @@ void
print_user_block(const char *filename, hid_t fid)
{
int ret_value = 0;
- hid_t fh = -1; /* file handle */
+ int t fh = -1; /* file handle */
hsize_t ub_size; /* user block size */
hsize_t size; /* size read */
hid_t fcpl = -1; /* file creation property list ID for HDF5 file */