OvmfPkg/LegacyBootManagerLib: Fix debug macro arguments
The DEBUG macro updated in this patch previously contained 11 print specifiers in the debug string but passeed 13 arguments. This change attempts to update the macro to the author's intention so the number of specifiers match the number of arguments. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
8fdb4de628
commit
cdb80a281f
@ -1159,8 +1159,8 @@ LegacyBmPrintBbsTable (
|
||||
UINT16 Index;
|
||||
|
||||
DEBUG ((DEBUG_INFO, "\n"));
|
||||
DEBUG ((DEBUG_INFO, " NO Prio bb/dd/ff cl/sc Type Stat segm:offs\n"));
|
||||
DEBUG ((DEBUG_INFO, "=============================================\n"));
|
||||
DEBUG ((DEBUG_INFO, " NO Prio bb/dd/ff cl/sc Type Stat segm:offs mseg dseg\n"));
|
||||
DEBUG ((DEBUG_INFO, "======================================================\n"));
|
||||
for (Index = 0; Index < BbsCount; Index++) {
|
||||
if (!LegacyBmValidBbsEntry (&LocalBbsTable[Index])) {
|
||||
continue;
|
||||
@ -1168,7 +1168,7 @@ LegacyBmPrintBbsTable (
|
||||
|
||||
DEBUG (
|
||||
(DEBUG_INFO,
|
||||
" %02x: %04x %02x/%02x/%02x %02x/%02x %04x %04x %04x:%04x\n",
|
||||
" %02x: %04x %02x/%02x/%02x %02x/%02x %04x %04x %04x:%04x %04x %04x\n",
|
||||
(UINTN)Index,
|
||||
(UINTN)LocalBbsTable[Index].BootPriority,
|
||||
(UINTN)LocalBbsTable[Index].Bus,
|
||||
|
Reference in New Issue
Block a user