summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index e6fc2f0..f7af540 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -1923,6 +1923,9 @@ main (int argc, char *argv[])
static char root_name[] = "/";
char drivername[50];
+ /* Initialize h5tools lib */
+ h5tools_init();
+
/* Build display table */
DISPATCH(H5G_DATASET, "Dataset", H5Dopen, H5Dclose,
dataset_list1, dataset_list2);
@@ -2154,6 +2157,7 @@ main (int argc, char *argv[])
}
H5Fclose(file);
}
+ h5tools_close();
return 0;
}