summaryrefslogtreecommitdiffstats
path: root/tools/src/h5stat
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2024-03-04 14:54:24 (GMT)
committerGitHub <noreply@github.com>2024-03-04 14:54:24 (GMT)
commit968cf9e707f733b3674d0047bbf7a958ddbc3eb8 (patch)
treec4d1333d7cf3ae61419eb8c09927cb31828ab5d8 /tools/src/h5stat
parent7ce8c6f81abdc2d844bc12061239b05a983eda82 (diff)
downloadhdf5-968cf9e707f733b3674d0047bbf7a958ddbc3eb8.zip
hdf5-968cf9e707f733b3674d0047bbf7a958ddbc3eb8.tar.gz
hdf5-968cf9e707f733b3674d0047bbf7a958ddbc3eb8.tar.bz2
Improve error messages when tools attempt to use non-enabled S3 and HDFS VFDs. (#4047)
Diffstat (limited to 'tools/src/h5stat')
-rw-r--r--tools/src/h5stat/h5stat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/src/h5stat/h5stat.c b/tools/src/h5stat/h5stat.c
index 15232e4..a90ef5e 100644
--- a/tools/src/h5stat/h5stat.c
+++ b/tools/src/h5stat/h5stat.c
@@ -947,7 +947,8 @@ parse_command_line(int argc, const char *const *argv, struct handler_t **hand_re
drivername = drivernames[ROS3_VFD_IDX];
#else
- error_msg("Read-Only S3 VFD not enabled.\n");
+ error_msg(
+ "Read-Only S3 VFD is not available unless enabled when HDF5 is configured and built.\n");
goto error;
#endif
break;
@@ -961,7 +962,7 @@ parse_command_line(int argc, const char *const *argv, struct handler_t **hand_re
drivername = drivernames[HDFS_VFD_IDX];
#else
- error_msg("HDFS VFD not enabled.\n");
+ error_msg("HDFS VFD is not available unless enabled when HDF5 is configured and built.\n");
goto error;
#endif
break;