diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-10-20 23:46:13 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-10-20 23:46:13 (GMT) |
commit | bb281b23e958ba0a14ae3d562c46e6511e1c9106 (patch) | |
tree | 96177a2d79523d4ac750a4e85e91e7990f6b5ee4 /tools/h5import/h5importtest.c | |
parent | fd6545ba5c0a94e6e850510836c312f6a73da673 (diff) | |
download | hdf5-bb281b23e958ba0a14ae3d562c46e6511e1c9106.zip hdf5-bb281b23e958ba0a14ae3d562c46e6511e1c9106.tar.gz hdf5-bb281b23e958ba0a14ae3d562c46e6511e1c9106.tar.bz2 |
[svn-r17697] Bug fix: (1192)
Error exit code of -1 is illegal (exit code is unsigned).
Changed it to EXIT_FAILURE (1).
Also changed exit(0) to exit(EXIT_SUCCESS) for better coding.
Tested: jam.
Diffstat (limited to 'tools/h5import/h5importtest.c')
-rwxr-xr-x | tools/h5import/h5importtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5import/h5importtest.c b/tools/h5import/h5importtest.c index dd1a2be..9c839a3 100755 --- a/tools/h5import/h5importtest.c +++ b/tools/h5import/h5importtest.c @@ -370,6 +370,6 @@ main(void) - return (0); + return (EXIT_SUCCESS); } |