summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_str.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-20 17:08:37 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-20 17:08:37 (GMT)
commitd7c38eeee9e6148686dc72610f244974fdd88f10 (patch)
treecdd2df57eba1b995b0b969a03c1c8bc9e0ca668c /tools/lib/h5tools_str.c
parentca1b672ced9bf0f310e828e9e48d3f2fdf5141bd (diff)
downloadhdf5-d7c38eeee9e6148686dc72610f244974fdd88f10.zip
hdf5-d7c38eeee9e6148686dc72610f244974fdd88f10.tar.gz
hdf5-d7c38eeee9e6148686dc72610f244974fdd88f10.tar.bz2
Add unknown define for h5dump ref objects
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r--tools/lib/h5tools_str.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c
index f35fdab..67f44b1 100644
--- a/tools/lib/h5tools_str.c
+++ b/tools/lib/h5tools_str.c
@@ -1135,7 +1135,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai
case H5O_TYPE_UNKNOWN:
case H5O_TYPE_NTYPES:
default:
- h5tools_str_append(str, "%u-", (unsigned) oi.type);
+ h5tools_str_append(str, "%u-%s", (unsigned) oi.type, H5_TOOLS_UNKNOWN);
break;
} /* end switch */
H5Oclose(obj);
@@ -1172,6 +1172,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai
case H5O_TYPE_UNKNOWN:
case H5O_TYPE_NTYPES:
default:
+ h5tools_str_append(str, H5_TOOLS_UNKNOWN);
break;
} /* end switch */
h5tools_str_sprint_reference(str, info, container, ref_vp);