diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 7b13bd09c8..bc321a66c6 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1135,7 +1135,7 @@ static int pci_enable_msi(FAR struct pci_device_s *dev, FAR int *irq, { mme = mmc; num = 1 << mme; - pciinfo("Limit MME to %x, num to %d\n", mmc, num); + pciinfo("Limit MME to %"PRIx32", num to %d\n", mmc, num); } /* Configure MSI (arch-specific) */