summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-04-02 17:25:46 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-04-02 17:25:46 (GMT)
commit85b3b9e67086d577a8d4ce95eb46a8ed7724e9f3 (patch)
tree161bb265b7b00871863f94d474aa37303a0f71c6 /tools
parent456308ff17f2c7462a644f9505643d9c1a7efcb8 (diff)
downloadhdf5-85b3b9e67086d577a8d4ce95eb46a8ed7724e9f3.zip
hdf5-85b3b9e67086d577a8d4ce95eb46a8ed7724e9f3.tar.gz
hdf5-85b3b9e67086d577a8d4ce95eb46a8ed7724e9f3.tar.bz2
Updated tools dump output when dataset offset is undefined.
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools_dump.c2
-rw-r--r--tools/testfiles/tgrpnullspace.ddl2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index 27bdead..1e23afa 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 "H5_PRINTF_HADDR_FMT, 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