From a79900c6370846c8bc1bb9c2db141bb4a82961a7 Mon Sep 17 00:00:00 2001 From: mikebeaton Date: Tue, 16 Nov 2021 15:17:08 +0000 Subject: [PATCH] OpenCoreUefi: Clarify in err msgs that OC is bootstrapping secure boot NVRAM values Makes it easier for end users to realise that e.g. invalid NVRAM contents can cause failures here --- Library/OcMainLib/OpenCoreUefi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/OcMainLib/OpenCoreUefi.c b/Library/OcMainLib/OpenCoreUefi.c index 6bbe93ea..a848e502 100644 --- a/Library/OcMainLib/OpenCoreUefi.c +++ b/Library/OcMainLib/OpenCoreUefi.c @@ -506,13 +506,13 @@ OcLoadAppleSecureBoot ( Status = OcAppleImg4BootstrapValues (RealSecureBootModel, Config->Misc.Security.ApECID); if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_ERROR, "OC: Failed to bootstrap IMG4 values - %r\n", Status)); + DEBUG ((DEBUG_ERROR, "OC: Failed to bootstrap IMG4 NVRAM values - %r\n", Status)); return; } Status = OcAppleSecureBootBootstrapValues (RealSecureBootModel, Config->Misc.Security.ApECID); if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_ERROR, "OC: Failed to bootstrap SB values - %r\n", Status)); + DEBUG ((DEBUG_ERROR, "OC: Failed to bootstrap SB NVRAM values - %r\n", Status)); return; } }