use length 5 for failure report (?)

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2020-04-22 07:42:10 +03:00
parent f764a27a9a
commit dc419a5f0e

View File

@ -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;
}