summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 76bcd30..a77d413 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -16,6 +16,11 @@
#include <h5tools.h>
/*
+ * File drivers
+ */
+#include <H5FDfamily.h>
+
+/*
* If defined then include the file name as part of the object name when
* printing full object names. Otherwise leave the file name off.
*/
@@ -2033,7 +2038,7 @@ main (int argc, char *argv[])
/* Choose a file driver*/
plist = H5Pcreate(H5P_FILE_ACCESS);
if (strchr(fname, '%')) {
- H5Pset_family(plist, 0, H5P_DEFAULT);
+ H5Pset_fapl_family(plist, 0, H5P_DEFAULT);
}
/* Try to open the file */