summaryrefslogtreecommitdiffstats
path: root/test/links.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/links.c')
-rw-r--r--test/links.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/links.c b/test/links.c
index 5038349..4951038 100644
--- a/test/links.c
+++ b/test/links.c
@@ -15086,7 +15086,7 @@ main(void)
nerrors += group_info_old(fapl) < 0 ? 1 : 0;
if (minimize_dset_oh) {
- if (0 > H5Pclose(dcpl_g))
+ if (H5Pclose(dcpl_g) < 0)
TEST_ERROR;
dcpl_g = -1;
}