зеркало из https://github.com/microsoft/mu_plus.git
Merged PR 1733: Fix CLANG build breaks due to bad debug prints
Fix CLANG build breaks due to bad debug prints
This commit is contained in:
Родитель
e659b567af
Коммит
2d21f98724
|
@ -403,7 +403,7 @@ GetRecordID(UINT64* RecordID, EFI_GUID *RecordIDGuid)
|
|||
//Get the last record ID number used
|
||||
if(EFI_ERROR(gRT->GetVariable(L"RecordID",RecordIDGuid,NULL,&Size,RecordID))) {
|
||||
|
||||
DEBUG ((DEBUG_INFO, __FUNCTION__ " Record ID variable not retrieved, initializing to 0\n"));
|
||||
DEBUG ((DEBUG_INFO, "%a Record ID variable not retrieved, initializing to 0\n", __FUNCTION__));
|
||||
*RecordID = 0;
|
||||
|
||||
}
|
||||
|
|
|
@ -95,7 +95,7 @@ CreateCperHdrDefaultMin (
|
|||
CopyMem(&CperHdr->NotificationType, &gEfiEventNotificationTypeBootGuid, sizeof(EFI_GUID));
|
||||
|
||||
if(EFI_ERROR(GetRecordID(&RecordID, &gMsWheaReportRecordIDGuid))) {
|
||||
DEBUG ((DEBUG_INFO, __FUNCTION__ " - RECORD ID NOT UPDATED\n"));
|
||||
DEBUG ((DEBUG_INFO, "%a - RECORD ID NOT UPDATED\n", __FUNCTION__));
|
||||
}
|
||||
|
||||
//Even if the record id was not updated, the value is either 0 or the previously incremented value
|
||||
|
|
Загрузка…
Ссылка в новой задаче