summaryrefslogtreecommitdiffstats
path: root/tools/h5jam
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/h5jam
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/h5jam')
-rw-r--r--tools/h5jam/h5jam.c2
-rw-r--r--tools/h5jam/h5unjam.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5jam/h5jam.c b/tools/h5jam/h5jam.c
index 5520dc7..2bc3462 100644
--- a/tools/h5jam/h5jam.c
+++ b/tools/h5jam/h5jam.c
@@ -139,7 +139,7 @@ leave(int ret)
h5tools_close();
- exit(ret);
+ HDexit(ret);
}
/*-------------------------------------------------------------------------
diff --git a/tools/h5jam/h5unjam.c b/tools/h5jam/h5unjam.c
index 14ed651..1dfdfc7 100644
--- a/tools/h5jam/h5unjam.c
+++ b/tools/h5jam/h5unjam.c
@@ -142,7 +142,7 @@ leave(int ret)
h5tools_close();
- exit(ret);
+ HDexit(ret);
}
/*-------------------------------------------------------------------------
@@ -199,7 +199,7 @@ parse_command_line(int argc, const char *argv[])
if (argc <= opt_ind+2) {
error_msg("missing file name\n");
usage(h5tools_getprogname());
- exit(EXIT_FAILURE);
+ HDexit(EXIT_FAILURE);
}
*/
}