summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2005-02-02 21:30:37 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2005-02-02 21:30:37 (GMT)
commit6fb2e2e0f08e9af9f1824cce6a3f0fc31bb191fb (patch)
tree9c6f900eb6591891eadc5d398fec1bb4e36c7f19 /tools
parent50450cfa5dcef6be8fe07085c50b7822fece45a3 (diff)
downloadhdf5-6fb2e2e0f08e9af9f1824cce6a3f0fc31bb191fb.zip
hdf5-6fb2e2e0f08e9af9f1824cce6a3f0fc31bb191fb.tar.gz
hdf5-6fb2e2e0f08e9af9f1824cce6a3f0fc31bb191fb.tar.bz2
[svn-r9922] Purpose:
bug fix Description: changed a close function test failure from < 1 to < 0 Solution: Platforms tested: linux Misc. update:
Diffstat (limited to 'tools')
-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 0a7f408..ba3e4ae 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -2873,7 +2873,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;
}