From d10cadac4bd12c6e288db338ac35437e53808612 Mon Sep 17 00:00:00 2001 From: asava Date: Sun, 3 May 2020 10:21:50 +0300 Subject: [PATCH] Correct typo in previous commit --- rEFIt_UEFI/Platform/kernel_patcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rEFIt_UEFI/Platform/kernel_patcher.cpp b/rEFIt_UEFI/Platform/kernel_patcher.cpp index 4e94cae99..3a7f8cd29 100644 --- a/rEFIt_UEFI/Platform/kernel_patcher.cpp +++ b/rEFIt_UEFI/Platform/kernel_patcher.cpp @@ -1959,8 +1959,8 @@ LOADER_ENTRY::BooterPatch(IN UINT8 *BooterData, IN UINT64 BooterSize) { INTN Num, i = 0, y = 0; - // if we modify directly KernelAndKextPatches-BootPatches[i].SearchLen, it will wrong for next driver - UINTN SearchLen = KernelAndKextPatches->KernelPatches[i].SearchLen; + // if we modify directly KernelAndKextPatches->BootPatches[i].SearchLen, it will wrong for next driver + UINTN SearchLen = KernelAndKextPatches->BootPatches[i].SearchLen; if (!SearchLen) { SearchLen = BooterSize;