diff --git a/rEFIt_UEFI/Platform/DataHubCpu.cpp b/rEFIt_UEFI/Platform/DataHubCpu.cpp index e56b3e297..3cbead2d5 100644 --- a/rEFIt_UEFI/Platform/DataHubCpu.cpp +++ b/rEFIt_UEFI/Platform/DataHubCpu.cpp @@ -400,8 +400,8 @@ SetVariablesForOSX(LOADER_ENTRY *Entry) //one more variable can be set for 10.15.4 //sudo nvram wake-failure=%00%00%00%00%00 - Color = 0; - AddNvramVariable(L"wake-failure", &gEfiAppleBootGuid, Attributes, 4, &Color); + LangLen = 0; + AddNvramVariable(L"wake-failure", &gEfiAppleBootGuid, Attributes, 5, &LangLen); return EFI_SUCCESS; }