summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-10-24 16:07:10 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-10-24 16:07:10 (GMT)
commit1854f9979364fc55b74f5de4709d443e393cb5bf (patch)
tree0cb75ac288c7b8553fdb7abf900cf2f54a90394c /tools
parent7dbf569af90f098a702da84f439c85acb92635df (diff)
downloadhdf5-1854f9979364fc55b74f5de4709d443e393cb5bf.zip
hdf5-1854f9979364fc55b74f5de4709d443e393cb5bf.tar.gz
hdf5-1854f9979364fc55b74f5de4709d443e393cb5bf.tar.bz2
Fix typos
Diffstat (limited to 'tools')
-rw-r--r--tools/h5repack/h5repack_copy.c2
-rw-r--r--tools/lib/h5tools.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c
index 772a9fe..48743c3 100644
--- a/tools/h5repack/h5repack_copy.c
+++ b/tools/h5repack/h5repack_copy.c
@@ -1390,7 +1390,7 @@ void
print_user_block(const char *filename, hid_t fid)
{
int ret_value = 0;
- hid_t fh = -1; /* file handle */
+ int 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 */
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 8da2f96..9230bb1 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