From dc07ef19fd055daa27026282213c63e7e74f73c2 Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Thu, 7 Apr 2022 07:29:03 -0700 Subject: Fixes H5E_ID error categores erroneously brought over from develop (#1613) --- src/H5FDdirect.c | 2 +- src/H5FDmirror.c | 2 +- src/H5FDros3.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/H5FDdirect.c b/src/H5FDdirect.c index 367a613..9ecae5e 100644 --- a/src/H5FDdirect.c +++ b/src/H5FDdirect.c @@ -236,7 +236,7 @@ H5FD_direct_init(void) if (H5I_VFL != H5I_get_type(H5FD_DIRECT_g)) { H5FD_DIRECT_g = H5FD_register(&H5FD_direct_g, sizeof(H5FD_class_t), FALSE); if (H5I_INVALID_HID == H5FD_DIRECT_g) - HGOTO_ERROR(H5E_ID, H5E_CANTREGISTER, H5I_INVALID_HID, "unable to register direct"); + HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, H5I_INVALID_HID, "unable to register direct"); } /* Set return value */ diff --git a/src/H5FDmirror.c b/src/H5FDmirror.c index f36b9c3..7402b30 100644 --- a/src/H5FDmirror.c +++ b/src/H5FDmirror.c @@ -249,7 +249,7 @@ H5FD_mirror_init(void) if (H5I_VFL != H5I_get_type(H5FD_MIRROR_g)) { H5FD_MIRROR_g = H5FD_register(&H5FD_mirror_g, sizeof(H5FD_class_t), FALSE); if (H5I_INVALID_HID == H5FD_MIRROR_g) - HGOTO_ERROR(H5E_ID, H5E_CANTREGISTER, H5I_INVALID_HID, "unable to register mirror"); + HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, H5I_INVALID_HID, "unable to register mirror"); } ret_value = H5FD_MIRROR_g; diff --git a/src/H5FDros3.c b/src/H5FDros3.c index decc341..eb2cc33 100644 --- a/src/H5FDros3.c +++ b/src/H5FDros3.c @@ -329,7 +329,7 @@ H5FD_ros3_init(void) if (H5I_VFL != H5I_get_type(H5FD_ROS3_g)) { H5FD_ROS3_g = H5FD_register(&H5FD_ros3_g, sizeof(H5FD_class_t), FALSE); if (H5I_INVALID_HID == H5FD_ROS3_g) { - HGOTO_ERROR(H5E_ID, H5E_CANTREGISTER, H5I_INVALID_HID, "unable to register ros3"); + HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, H5I_INVALID_HID, "unable to register ros3"); } } -- cgit v0.12