summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2019-01-08 02:46:55 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2019-01-08 02:46:55 (GMT)
commit90d13bef33f9e2e80b23996a0c39f16f7c34ecf8 (patch)
tree97530bd1d7e9b3937eaafc254aef5caeadcd26ff /tools
parent78d0564c2afa2241899a2bd43aa1bd6af7a3fda2 (diff)
downloadhdf5-90d13bef33f9e2e80b23996a0c39f16f7c34ecf8.zip
hdf5-90d13bef33f9e2e80b23996a0c39f16f7c34ecf8.tar.gz
hdf5-90d13bef33f9e2e80b23996a0c39f16f7c34ecf8.tar.bz2
Fixed typo
Platforms tested: Darwin (osx1010test)
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c
index b33ba13..e7e017f 100644
--- a/tools/lib/h5tools_utils.c
+++ b/tools/lib/h5tools_utils.c
@@ -580,7 +580,7 @@ init_objs(hid_t fid, find_objs_t *info, table_t **group_table,
done:
/* Release resources */
- if(ret_value == FAIL) {
+ if(ret_value < 0) {
free_table(*group_table);
info->group_table = NULL;
free_table(*type_table);