OpenCoreKernelPatch: Fix assertion in SetApfsTrimTimeout

This commit is contained in:
vit9696 2021-01-26 20:54:02 +03:00
parent 6432d8c87e
commit d26aa6c43d

View File

@ -277,7 +277,7 @@ OcKernelApplyPatches (
if (Config->Kernel.Quirks.SetApfsTrimTimeout >= 0) {
PatchSetApfsTimeout ((UINT32) Config->Kernel.Quirks.SetApfsTrimTimeout);
OcKernelApplyQuirk (KernelQuirkSetApfsTrimTimeout, CacheType, DarwinVersion, NULL, &KernelPatcher);
OcKernelApplyQuirk (KernelQuirkSetApfsTrimTimeout, CacheType, DarwinVersion, Context, NULL);
}
} else {
if (Config->Kernel.Quirks.AppleXcpmCfgLock) {