summaryrefslogtreecommitdiffstats
path: root/src/H5I.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5I.c')
-rw-r--r--src/H5I.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5I.c b/src/H5I.c
index 32a2276..f17f5bd 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -700,7 +700,7 @@ H5I_register(H5I_type_t type, const void *object, hbool_t app_ref)
hid_t new_id = -1; /* new ID */
hid_t ret_value = H5I_INVALID_HID; /* return value */
- FUNC_ENTER_NOAPI(FAIL)
+ FUNC_ENTER_NOAPI(H5I_INVALID_HID)
/* Check arguments */
if (type <= H5I_BADID || (int)type >= H5I_next_type)