summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5I.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5I.c b/src/H5I.c
index 126cb3d..bf80dce 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -883,7 +883,7 @@ H5I_dec_ref(hid_t id)
H5I_remove(id);
ret_value = 0;
} else {
- ret_value = 1;
+ ret_value = FAIL;
}
} else {
ret_value = --(id_ptr->count);