diff --git a/OpenCorePkg b/OpenCorePkg index b4705b2b9..df86f4960 160000 --- a/OpenCorePkg +++ b/OpenCorePkg @@ -1 +1 @@ -Subproject commit b4705b2b9affc9a5a8c80daad6638b85e5c1b11d +Subproject commit df86f4960d56e255235c56dbe4e32f3e3a966dfb diff --git a/rEFIt_UEFI/Platform/BootLog.cpp b/rEFIt_UEFI/Platform/BootLog.cpp index 92f7a0ac4..4e6d5d353 100644 --- a/rEFIt_UEFI/Platform/BootLog.cpp +++ b/rEFIt_UEFI/Platform/BootLog.cpp @@ -188,7 +188,8 @@ static UINTN GetDebugLogFile() // } if (!EFI_ERROR(Status)) { - Status = LogFile->SetPosition(LogFile, 0xFFFFFFFFFFFFFFFFULL); + EFI_FILE_INFO *Info = EfiLibFileInfo(LogFile); + Status = LogFile->SetPosition(LogFile, Info->FileSize); //0xFFFFFFFFFFFFFFFFULL); if ( EFI_ERROR (Status) ) { DGB_nbCallback("GetDebugLogFile() -> Cannot set log position to 0xFFFFFFFFFFFFFFFFULL : %s\n", efiStrError(Status)); LogFile->Close(LogFile);