mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
set log position
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
bf6376277c
commit
569a2fbe94
@ -1 +1 @@
|
|||||||
Subproject commit b4705b2b9affc9a5a8c80daad6638b85e5c1b11d
|
Subproject commit df86f4960d56e255235c56dbe4e32f3e3a966dfb
|
@ -188,7 +188,8 @@ static UINTN GetDebugLogFile()
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
if (!EFI_ERROR(Status)) {
|
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) ) {
|
if ( EFI_ERROR (Status) ) {
|
||||||
DGB_nbCallback("GetDebugLogFile() -> Cannot set log position to 0xFFFFFFFFFFFFFFFFULL : %s\n", efiStrError(Status));
|
DGB_nbCallback("GetDebugLogFile() -> Cannot set log position to 0xFFFFFFFFFFFFFFFFULL : %s\n", efiStrError(Status));
|
||||||
LogFile->Close(LogFile);
|
LogFile->Close(LogFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user