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:
Dmitry Antipov 2019-11-21 19:55:01 +00:00
Родитель e659b567af
Коммит 2d21f98724
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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