diff options
author | Cillian O'Donnell <cpodonnell8@gmail.com> | 2017-04-08 12:17:56 +0100 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-04-14 13:01:14 -0500 |
commit | 53e7393b4e5fea82f7e7918989e8ab634fd6a91a (patch) | |
tree | c7b5cdb18fbd9d2f5e68d726b33385a92a070d3f /c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c | |
parent | virtex4/startup/bspstart.c: Use %p to fix 11 warnings. (diff) | |
download | rtems-53e7393b4e5fea82f7e7918989e8ab634fd6a91a.tar.bz2 |
powerpc/mvme550/./pci.c: Use inttypes.h constant to fix 1 warning.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c b/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c index 8601721c03..bef0173aa3 100644 --- a/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c +++ b/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c @@ -33,6 +33,7 @@ #include <stdio.h> #include <string.h> +#include <inttypes.h> #define PCI_DEBUG 0 #define PCI_PRINT 1 @@ -294,7 +295,7 @@ int pci_initialize(void) break; default : #if PCI_PRINT - printk("BSP unlisted vendor, Bus%d Slot%d DeviceID 0x%x \n", + printk("BSP unlisted vendor, Bus%d Slot%d DeviceID 0x%" PRIx32 "\n", ucBusNumber,ucSlotNumber, ulDeviceID); #endif /* Kate Feng : device not supported by BSP needs to remap the IRQ line on mvme5500/mvme6100 */ |