提交 ddac66e1 编写于 作者: D Dhinak G 提交者: vit9696

OpenCoreKernel: Fix typos for MinKernel (#17)

There are missing line breaks in the strings on lines 318, 486, and 566.
On lines 313, 481 and 561, MinKernel is set to `OcParseDarwinVersion (OC_BLOB_GET (&XXX->MaxKernel))` instead of `OcParseDarwinVersion (OC_BLOB_GET (&XXX->MinKernel))`.
上级 5e020bb0
......@@ -310,12 +310,12 @@ OcKernelApplyPatches (
}
MaxKernel = OcParseDarwinVersion (OC_BLOB_GET (&UserPatch->MaxKernel));
MinKernel = OcParseDarwinVersion (OC_BLOB_GET (&UserPatch->MaxKernel));
MinKernel = OcParseDarwinVersion (OC_BLOB_GET (&UserPatch->MinKernel));
if (!OcMatchDarwinVersion (DarwinVersion, MinKernel, MaxKernel)) {
DEBUG ((
DEBUG_INFO,
"OC: Kernel patcher skips %a (%a) patch at %u due to version %u <= %u <= %u",
"OC: Kernel patcher skips %a (%a) patch at %u due to version %u <= %u <= %u\n",
Target,
Comment,
Index,
......@@ -478,12 +478,12 @@ OcKernelBlockKexts (
}
MaxKernel = OcParseDarwinVersion (OC_BLOB_GET (&Kext->MaxKernel));
MinKernel = OcParseDarwinVersion (OC_BLOB_GET (&Kext->MaxKernel));
MinKernel = OcParseDarwinVersion (OC_BLOB_GET (&Kext->MinKernel));
if (!OcMatchDarwinVersion (DarwinVersion, MinKernel, MaxKernel)) {
DEBUG ((
DEBUG_INFO,
"OC: Prelink blocker skips %a (%a) block at %u due to version %u <= %u <= %u",
"OC: Prelink blocker skips %a (%a) block at %u due to version %u <= %u <= %u\n",
Target,
Comment,
Index,
......@@ -558,12 +558,12 @@ OcKernelProcessPrelinked (
BundlePath = OC_BLOB_GET (&Kext->BundlePath);
Comment = OC_BLOB_GET (&Kext->Comment);
MaxKernel = OcParseDarwinVersion (OC_BLOB_GET (&Kext->MaxKernel));
MinKernel = OcParseDarwinVersion (OC_BLOB_GET (&Kext->MaxKernel));
MinKernel = OcParseDarwinVersion (OC_BLOB_GET (&Kext->MinKernel));
if (!OcMatchDarwinVersion (DarwinVersion, MinKernel, MaxKernel)) {
DEBUG ((
DEBUG_INFO,
"OC: Prelink injection skips %a (%a) kext at %u due to version %u <= %u <= %u",
"OC: Prelink injection skips %a (%a) kext at %u due to version %u <= %u <= %u\n",
BundlePath,
Comment,
Index,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册