Skip to content

Commit dc419a5

Browse files
committed
use length 5 for failure report (?)
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
1 parent f764a27 commit dc419a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rEFIt_UEFI/Platform/DataHubCpu.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ SetVariablesForOSX(LOADER_ENTRY *Entry)
400400

401401
//one more variable can be set for 10.15.4
402402
//sudo nvram wake-failure=%00%00%00%00%00
403-
Color = 0;
404-
AddNvramVariable(L"wake-failure", &gEfiAppleBootGuid, Attributes, 4, &Color);
403+
LangLen = 0;
404+
AddNvramVariable(L"wake-failure", &gEfiAppleBootGuid, Attributes, 5, &LangLen);
405405

406406
return EFI_SUCCESS;
407407
}

0 commit comments

Comments
 (0)