Skip to content

Commit

Permalink
Fix wrong return value
Browse files Browse the repository at this point in the history
  • Loading branch information
cfernald committed Feb 9, 2024
1 parent 1775c99 commit 685a1b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ AdvancedLoggerGetLoggerInfo (
if ((LoggerInfo->LogBuffer + LoggerInfo->LogBufferSize) >
(FixedPcdGet32 (PcdAdvancedLoggerPages) * EFI_PAGE_SIZE))
{
return FALSE;
return NULL;
}

// Ensure the current pointer does not overrun.
Expand Down

0 comments on commit 685a1b0

Please sign in to comment.