summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repacktst.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-27 20:10:18 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-27 20:10:18 (GMT)
commit009522483ee23aabc44ca5bed03ff5288ea7048c (patch)
tree566a4da61e496f4325685554ca74d8d69344ad60 /tools/h5repack/h5repacktst.c
parent3a713f80759f030279fce816b524880dd5c77752 (diff)
downloadhdf5-009522483ee23aabc44ca5bed03ff5288ea7048c.zip
hdf5-009522483ee23aabc44ca5bed03ff5288ea7048c.tar.gz
hdf5-009522483ee23aabc44ca5bed03ff5288ea7048c.tar.bz2
[svn-r21994] Add tools_init to main
Diffstat (limited to 'tools/h5repack/h5repacktst.c')
-rw-r--r--tools/h5repack/h5repacktst.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/h5repack/h5repacktst.c b/tools/h5repack/h5repacktst.c
index 156038c..0ea70ae 100644
--- a/tools/h5repack/h5repacktst.c
+++ b/tools/h5repack/h5repacktst.c
@@ -168,6 +168,11 @@ static int make_complex_attr_references(hid_t loc_id);
int main (void)
{
+ h5tools_setprogname(PROGRAMNAME);
+ h5tools_setstatus(EXIT_SUCCESS);
+
+ /* Initialize h5tools lib */
+ h5tools_init();
pack_opt_t pack_options;
diff_opt_t diff_options;
hsize_t fs_size = 0; /* free space section threshold */