summaryrefslogtreecommitdiffstats
path: root/tools/h5import
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-24 15:45:54 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-24 15:45:54 (GMT)
commit827cbbba318e64d81c60647c815c46d18dc529e1 (patch)
treef221c2011d769c23880b9bcf116e1aaf17e38295 /tools/h5import
parentcec338c647aa3dc46f93800c1263f6a75b2c6728 (diff)
downloadhdf5-827cbbba318e64d81c60647c815c46d18dc529e1.zip
hdf5-827cbbba318e64d81c60647c815c46d18dc529e1.tar.gz
hdf5-827cbbba318e64d81c60647c815c46d18dc529e1.tar.bz2
[svn-r21982] Correct HD prefix in tools for exit
Checked for HD support.
Diffstat (limited to 'tools/h5import')
-rwxr-xr-xtools/h5import/h5import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5import/h5import.c b/tools/h5import/h5import.c
index 31d44de..b80cfe3 100755
--- a/tools/h5import/h5import.c
+++ b/tools/h5import/h5import.c
@@ -58,7 +58,7 @@ int main(int argc, char *argv[])
if (argv[1] && (HDstrcmp("-V", argv[1]) == 0)) {
print_version(PROGRAMNAME);
- exit(EXIT_SUCCESS);
+ HDexit(EXIT_SUCCESS);
}
/*
@@ -119,7 +119,7 @@ int main(int argc, char *argv[])
case 6: /* -h found; help, then exit */
help(argv[0]);
- exit(EXIT_SUCCESS);
+ HDexit(EXIT_SUCCESS);
break;
case 7: /* -d found; look for dimensions */