From ba562e39cee70244317bfe9730c4d9b8a7c998ec Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Wed, 17 Feb 2021 15:12:41 -0500 Subject: [PATCH] Fix #1172, Update to use Ut_Stub_CheckDefaultReturnValue API --- fsw/cfe-core/ut-stubs/ut_tbl_stubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsw/cfe-core/ut-stubs/ut_tbl_stubs.c b/fsw/cfe-core/ut-stubs/ut_tbl_stubs.c index f9df4806a..f75ae4a35 100644 --- a/fsw/cfe-core/ut-stubs/ut_tbl_stubs.c +++ b/fsw/cfe-core/ut-stubs/ut_tbl_stubs.c @@ -132,7 +132,7 @@ int32 CFE_TBL_GetAddress (void **TblPtr, CFE_TBL_Handle_t TblHandle) int32 ForceValue; status = UT_DEFAULT_IMPL(CFE_TBL_GetAddress); - if (status >= 0 && !UT_Stub_CheckForceFail(UT_KEY(CFE_TBL_GetAddress), &ForceValue)) + if (status >= 0 && !UT_Stub_CheckDefaultReturnValue(UT_KEY(CFE_TBL_GetAddress), &ForceValue)) { UT_Stub_CopyToLocal(UT_KEY(CFE_TBL_GetAddress), (uint8 *)TblPtr, sizeof(void*)); }