diff options
-rw-r--r-- | tools/h5dump/h5dump.c | 2 |
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; } |