summaryrefslogtreecommitdiffstats
path: root/tools/src/h5dump
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2020-11-30 21:59:22 (GMT)
committerGitHub <noreply@github.com>2020-11-30 21:59:22 (GMT)
commit123c5a653dbe3867e06eb8c31da952b7ef042f95 (patch)
tree077e9e2951b85e5c38ed0c9ea11c6baa396879e9 /tools/src/h5dump
parentcadd6db431e2664e6dd3f2460639a27d21c6c8a9 (diff)
downloadhdf5-123c5a653dbe3867e06eb8c31da952b7ef042f95.zip
hdf5-123c5a653dbe3867e06eb8c31da952b7ef042f95.tar.gz
hdf5-123c5a653dbe3867e06eb8c31da952b7ef042f95.tar.bz2
Expand 'opt_query' VOL callback to return a bitfield instead of a flag (#136)
* Expand 'opt_query' VOL callback to return a bitfield instead of a flag * Correct pastos
Diffstat (limited to 'tools/src/h5dump')
-rw-r--r--tools/src/h5dump/h5dump_ddl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5dump/h5dump_ddl.c b/tools/src/h5dump/h5dump_ddl.c
index 8c637b1..5566b8f 100644
--- a/tools/src/h5dump/h5dump_ddl.c
+++ b/tools/src/h5dump/h5dump_ddl.c
@@ -1154,7 +1154,7 @@ dump_fcpl(hid_t fid)
unsigned sym_ik; /* symbol table B-tree internal 'K' value */
unsigned istore_ik; /* indexed storage B-tree internal 'K' value */
- hbool_t supported = FALSE;
+ uint64_t supported = 0;
/* Dumping the information here only makes sense for the native
* VOL connector. The only VOL call here is H5Fget_info(), so we'll
@@ -1163,7 +1163,7 @@ dump_fcpl(hid_t fid)
*/
H5VLquery_optional(fid, H5VL_SUBCLS_FILE, H5VL_NATIVE_FILE_GET_INFO, &supported);
- if (!supported)
+ if (!(supported & H5VL_OPT_QUERY_SUPPORTED))
return;
fcpl = H5Fget_create_plist(fid);