diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-04-02 17:25:46 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:58 (GMT) |
commit | 503720de027fa58341837364a48edff60d76905a (patch) | |
tree | 451d814c281f3efd4fa4ad82121408debfc033cf /tools | |
parent | 12ecc595d8fa337c0c069b809bfc49b67bb11a75 (diff) | |
download | hdf5-503720de027fa58341837364a48edff60d76905a.zip hdf5-503720de027fa58341837364a48edff60d76905a.tar.gz hdf5-503720de027fa58341837364a48edff60d76905a.tar.bz2 |
Updated tools dump output when dataset offset is undefined.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lib/h5tools_dump.c | 2 | ||||
-rw-r--r-- | tools/testfiles/tgrpnullspace.ddl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c index a12d87d..e89e54a 100644 --- a/tools/lib/h5tools_dump.c +++ b/tools/lib/h5tools_dump.c @@ -3316,7 +3316,7 @@ h5tools_dump_dcpl(FILE *stream, const h5tool_format_t *info, h5tools_str_reset(&buffer); ioffset = H5Dget_offset(dset_id); if (HADDR_UNDEF == ioffset) - h5tools_str_append(&buffer, "OFFSET Undefined (HADDR_UNDEF)"); + h5tools_str_append(&buffer, "OFFSET HADDR_UNDEF"); else h5tools_str_append(&buffer, "OFFSET %" PRIuHADDR, ioffset); h5tools_render_element(stream, info, ctx, &buffer, &curr_pos, (size_t) ncols, (hsize_t) 0, (hsize_t) 0); diff --git a/tools/testfiles/tgrpnullspace.ddl b/tools/testfiles/tgrpnullspace.ddl index df4b2cc..7c1ef6c 100644 --- a/tools/testfiles/tgrpnullspace.ddl +++ b/tools/testfiles/tgrpnullspace.ddl @@ -13,7 +13,7 @@ GROUP "/" { STORAGE_LAYOUT { CONTIGUOUS SIZE 0 - OFFSET Undefined (HADDR_UNDEF) + OFFSET HADDR_UNDEF } FILTERS { NONE |