diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-10-21 00:34:42 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-10-21 00:34:42 (GMT) |
commit | ce5e8b2a3961f5c429d7c25aaf68e85081a69bd0 (patch) | |
tree | eb89f7667de1c1c28070b45245c37fd8c79eccfd /tools/h5repack/h5repack.c | |
parent | aa46073801c8e6cc00a11cc0bda3fb1f70330535 (diff) | |
download | hdf5-ce5e8b2a3961f5c429d7c25aaf68e85081a69bd0.zip hdf5-ce5e8b2a3961f5c429d7c25aaf68e85081a69bd0.tar.gz hdf5-ce5e8b2a3961f5c429d7c25aaf68e85081a69bd0.tar.bz2 |
[svn-r17704] 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.c')
-rw-r--r-- | tools/h5repack/h5repack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c index d8a503c..3c8cec8 100644 --- a/tools/h5repack/h5repack.c +++ b/tools/h5repack/h5repack.c @@ -649,7 +649,7 @@ static const char* get_sfilter(H5Z_filter_t filtn) return "SOFF"; else { error_msg(progname, "input error in filter type\n"); - exit(1); + exit(EXIT_FAILURE); } } |