From d8c912e4209210db3c04e1e38bcd38632292521e Mon Sep 17 00:00:00 2001 From: jief666 Date: Sun, 23 Aug 2020 14:54:35 +0300 Subject: [PATCH] Fix debug message "patch disabled at config" --- rEFIt_UEFI/Platform/Settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rEFIt_UEFI/Platform/Settings.cpp b/rEFIt_UEFI/Platform/Settings.cpp index 547e89bd1..4a16e988d 100644 --- a/rEFIt_UEFI/Platform/Settings.cpp +++ b/rEFIt_UEFI/Platform/Settings.cpp @@ -1122,7 +1122,7 @@ FillinKextPatches (IN OUT KERNEL_AND_KEXT_PATCHES *Patches, } DBG(" :: data len: %zu\n", newPatch.Data.size()); - if (newPatch.MenuItem.BValue) { + if (!newPatch.MenuItem.BValue) { DBG(" - patch disabled at config\n"); } Patches->KextPatches.AddReference(newPatchPtr, true);