diff options
author | Joel Sherrill <joel@rtems.org> | 2017-04-23 20:03:58 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-04-24 12:00:55 -0500 |
commit | 93206c127c1522665af4b7f23207c4f83859c68e (patch) | |
tree | 1f1338b3d4d1e081345d1b42458f51458bd9c8cf | |
parent | gensh2/console/config.c: Fix to reflect struct termios change (diff) | |
download | rtems-93206c127c1522665af4b7f23207c4f83859c68e.tar.bz2 |
beatnik/marvell/discovery.c: Fix printf() format warnings
-rw-r--r-- | c/src/lib/libbsp/powerpc/beatnik/marvell/discovery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/beatnik/marvell/discovery.c b/c/src/lib/libbsp/powerpc/beatnik/marvell/discovery.c index c6f647581f..b45585a6cf 100644 --- a/c/src/lib/libbsp/powerpc/beatnik/marvell/discovery.c +++ b/c/src/lib/libbsp/powerpc/beatnik/marvell/discovery.c @@ -106,8 +106,8 @@ static DiscoveryVersion rval = unknown; * access methods are installed or not (as a matter of fact this shouldn't * matter for any device on hose 0) */ -printk("config addr is 0x%08x\n", BSP_pci_configuration.pci_config_addr); -printk("config data is 0x%08x\n", BSP_pci_configuration.pci_config_data); +printk("config addr is %p\n", BSP_pci_configuration.pci_config_addr); +printk("config data is %p\n", BSP_pci_configuration.pci_config_data); pci_read_config_word(0,0,0,PCI_VENDOR_ID, &ds); if ( PCI_VENDOR_ID_MARVELL != ds ) { if ( assertion ) { |