summaryrefslogtreecommitdiffstats
path: root/tools/src/h5ls
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-03-31 10:43:03 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-03-31 10:43:03 (GMT)
commit816a12f04f5853a8d295791dab98eebec057452b (patch)
tree671d947c0a921b5b3c845bf622cc42542447e414 /tools/src/h5ls
parentc36b707578211b2aa193454625955d53546780ef (diff)
parenta46f31c2eb436e946639bb32518ce279507fa368 (diff)
downloadhdf5-816a12f04f5853a8d295791dab98eebec057452b.zip
hdf5-816a12f04f5853a8d295791dab98eebec057452b.tar.gz
hdf5-816a12f04f5853a8d295791dab98eebec057452b.tar.bz2
Merge branch 'develop' into tools_vol_update
Diffstat (limited to 'tools/src/h5ls')
-rw-r--r--tools/src/h5ls/h5ls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/src/h5ls/h5ls.c b/tools/src/h5ls/h5ls.c
index a18b6c6..16e6a4c 100644
--- a/tools/src/h5ls/h5ls.c
+++ b/tools/src/h5ls/h5ls.c
@@ -3006,6 +3006,8 @@ main(int argc, const char *argv[])
}
else if (!HDstrncmp(argv[argno], "--s3-cred=", (size_t)10)) {
#ifdef H5_HAVE_ROS3_VFD
+ char const *start = NULL;
+
start = strchr(argv[argno], '=');
if (start == NULL) {
HDfprintf(rawerrorstream, "Error: Unable to parse null credentials tuple\n"