diff --git a/AdvLoggerPkg/Library/AdvancedLoggerLib/MmCoreArm/AdvancedLoggerLib.c b/AdvLoggerPkg/Library/AdvancedLoggerLib/MmCoreArm/AdvancedLoggerLib.c index ae41fdb486..8b61d48d61 100644 --- a/AdvLoggerPkg/Library/AdvancedLoggerLib/MmCoreArm/AdvancedLoggerLib.c +++ b/AdvLoggerPkg/Library/AdvancedLoggerLib/MmCoreArm/AdvancedLoggerLib.c @@ -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.