From c8e4fe99da50c155e71eba98678ee0bede7511bf Mon Sep 17 00:00:00 2001 From: Download-Fritz Date: Thu, 28 Mar 2019 09:52:42 +0100 Subject: [PATCH] OcAppleKernelLib: Fix more BOOLEAN->EFI_STATUS. --- Library/OcAppleKernelLib/PrelinkedKext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/OcAppleKernelLib/PrelinkedKext.c b/Library/OcAppleKernelLib/PrelinkedKext.c index 941f46f4..257bc2ce 100644 --- a/Library/OcAppleKernelLib/PrelinkedKext.c +++ b/Library/OcAppleKernelLib/PrelinkedKext.c @@ -371,7 +371,7 @@ InternalScanBuildLinkedVtables ( &VtableMaxSize ); if ((VtableData == NULL) || !OC_ALIGNED (VtableData)) { - return FALSE; + return EFI_UNSUPPORTED; } Result = InternalGetVtableEntries64 ( @@ -380,7 +380,7 @@ InternalScanBuildLinkedVtables ( &NumEntriesTemp ); if (!Result) { - return FALSE; + return EFI_UNSUPPORTED; } VtableLookups[Index].Vtable.Data = VtableData;