summaryrefslogtreecommitdiffstats
path: root/tools/h5import/h5importtest.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-10-20 23:46:13 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-10-20 23:46:13 (GMT)
commitbb281b23e958ba0a14ae3d562c46e6511e1c9106 (patch)
tree96177a2d79523d4ac750a4e85e91e7990f6b5ee4 /tools/h5import/h5importtest.c
parentfd6545ba5c0a94e6e850510836c312f6a73da673 (diff)
downloadhdf5-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-xtools/h5import/h5importtest.c2
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);
}