stdio: fixed the 'x' case in printf

Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
Michael Shaw 2023-02-28 22:05:03 -05:00
commit 977ea64457
2 changed files with 7 additions and 3 deletions

View file

@ -46,6 +46,9 @@ int madt_parse_next_entry(int offset)
switch (type) {
case MADT_LAPIC:
struct madt_lapic *lapic = (struct madt_lapic *)madt;
printf(LOG_INFO "Lapic base address for cpu %d: %xh\n",
lapic->acpi_cpu_id, __madt->lapic_addr);
break;
case MADT_IOAPIC:
break;