summaryrefslogtreecommitdiffstats
path: root/tools/src/h5ls
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-04-17 00:07:21 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-04-17 00:07:21 (GMT)
commit9ecca22dd1852145810280e8c54aa6b0ab26b604 (patch)
treeab89bcc86bc815ba8ccd303cb355d064c446e817 /tools/src/h5ls
parent66842e3347a52e18aea227ba893a4d48ee0b80e7 (diff)
downloadhdf5-9ecca22dd1852145810280e8c54aa6b0ab26b604.zip
hdf5-9ecca22dd1852145810280e8c54aa6b0ab26b604.tar.gz
hdf5-9ecca22dd1852145810280e8c54aa6b0ab26b604.tar.bz2
Fixed problems with S3 and HDFS VFDs.
* Updated info struct parameter to correct info_string * Fixed Makefile.am where the S3 VFD was listed twice, causing duplicated symbols errors.
Diffstat (limited to 'tools/src/h5ls')
-rw-r--r--tools/src/h5ls/h5ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5ls/h5ls.c b/tools/src/h5ls/h5ls.c
index eb86101..9fc91f1 100644
--- a/tools/src/h5ls/h5ls.c
+++ b/tools/src/h5ls/h5ls.c
@@ -3157,7 +3157,7 @@ main(int argc, const char *argv[])
if (!HDstrcmp(preferred_driver, drivernames[ROS3_VFD_IDX])) {
#ifdef H5_HAVE_ROS3_VFD
- fapl_info.info = (void *)&ros3_fa;
+ fapl_info.info_string = (void *)&ros3_fa;
#else
HDfprintf(rawerrorstream, "Error: Read-Only S3 VFD is not enabled\n\n");
leave(EXIT_FAILURE);
@@ -3165,7 +3165,7 @@ main(int argc, const char *argv[])
}
else if (!HDstrcmp(preferred_driver, drivernames[HDFS_VFD_IDX])) {
#ifdef H5_HAVE_LIBHDFS
- fapl_info.info = (void *)&hdfs_fa;
+ fapl_info.info_string = (void *)&hdfs_fa;
#else
HDfprintf(rawerrorstream, "Error: The HDFS VFD is not enabled\n\n");
leave(EXIT_FAILURE);