summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_opttable.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-10-21 00:34:06 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-10-21 00:34:06 (GMT)
commite0b41d0b015c4899402018df2018d63c095e4ac7 (patch)
tree52a96680940b8bf6995c876e4330d62cc5a0ef11 /tools/h5repack/h5repack_opttable.c
parentbb5633b566d3fbef9d1d59a7fac0251a560865cb (diff)
downloadhdf5-e0b41d0b015c4899402018df2018d63c095e4ac7.zip
hdf5-e0b41d0b015c4899402018df2018d63c095e4ac7.tar.gz
hdf5-e0b41d0b015c4899402018df2018d63c095e4ac7.tar.bz2
[svn-r17703] Bug fix: (1192)
Changed exit(1) to exit(EXIT_FAILURE) and exit(0) to exit(EXIT_SUCCESS) for better coding. Tested: jam.
Diffstat (limited to 'tools/h5repack/h5repack_opttable.c')
-rw-r--r--tools/h5repack/h5repack_opttable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_opttable.c b/tools/h5repack/h5repack_opttable.c
index 8572837..5b6d5d0 100644
--- a/tools/h5repack/h5repack_opttable.c
+++ b/tools/h5repack/h5repack_opttable.c
@@ -231,7 +231,7 @@ int options_add_layout( obj_list_t *obj_list,
if (table->objs[i].chunk.rank>0)
{
error_msg(progname, "chunk information already inserted for <%s>\n",obj_list[j].obj);
- exit(1);
+ exit(EXIT_FAILURE);
}
/* insert the layout info */
else