summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_dump.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-07-25 22:17:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-07-25 22:17:48 (GMT)
commitdd27fe612cf9c80d223939a46a96202eaf81f60d (patch)
tree0deae7b9c4824be7e84aa7e232a529a9ae125c60 /tools/lib/h5tools_dump.c
parentc04144fb39b6d7a489c37e89ac8a0240991026a6 (diff)
downloadhdf5-dd27fe612cf9c80d223939a46a96202eaf81f60d.zip
hdf5-dd27fe612cf9c80d223939a46a96202eaf81f60d.tar.gz
hdf5-dd27fe612cf9c80d223939a46a96202eaf81f60d.tar.bz2
[svn-r22602]
Diffstat (limited to 'tools/lib/h5tools_dump.c')
-rw-r--r--tools/lib/h5tools_dump.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index 0c0a49f..c2add9a 100644
--- a/tools/lib/h5tools_dump.c
+++ b/tools/lib/h5tools_dump.c
@@ -282,7 +282,9 @@ h5tools_dump_simple_data(FILE *stream, const h5tool_format_t *info, hid_t contai
/* binary dump */
if (bin_output) {
- do_bin_output(rawdatastream, rawoutstream, container, nelmts, type, _mem);
+ if (render_bin_output(rawdatastream, container, type, _mem, nelmts) < 0) {
+ HDfprintf(rawoutstream,"\nError in writing binary stream\n");
+ }
} /* end if */
else {
/* setup */