summaryrefslogtreecommitdiffstats
path: root/tools/h5dump
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2005-02-02 21:28:52 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2005-02-02 21:28:52 (GMT)
commitc9c1277401eefcee99cd39ce77bb70c7c4643bf3 (patch)
tree4a9cd4a366258b28300c1fdcdedd6f03d1ca9328 /tools/h5dump
parentab243bf369012a88eab45c95b0ea8e96890a3b69 (diff)
downloadhdf5-c9c1277401eefcee99cd39ce77bb70c7c4643bf3.zip
hdf5-c9c1277401eefcee99cd39ce77bb70c7c4643bf3.tar.gz
hdf5-c9c1277401eefcee99cd39ce77bb70c7c4643bf3.tar.bz2
[svn-r9921] Purpose:
bug fix Description: the test fail condtion of a close function was set to if H5Dclose < 1 Solution: set to < 0 Platforms tested: linux Misc. update:
Diffstat (limited to 'tools/h5dump')
-rw-r--r--tools/h5dump/h5dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index 4ef6bdf..06aaae0 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -2876,7 +2876,7 @@ handle_datasets(hid_t fid, char *dset, void *data)
dump_dataset(dsetid, dset, sset);
}
- if (H5Dclose(dsetid) < 1)
+ if (H5Dclose(dsetid) < 0)
d_status = EXIT_FAILURE;
}