[rtems commit] shared/pci/detect_raven_bridge.c: Fix printf() format warnings

Joel Sherrill joel at rtems.org
Mon Apr 24 22:21:55 UTC 2017


Module:    rtems
Branch:    master
Commit:    3f12cfe50345da270c3da30e0100c94b37663d02
Changeset: http://git.rtems.org/rtems/commit/?id=3f12cfe50345da270c3da30e0100c94b37663d02

Author:    Joel Sherrill <joel at rtems.org>
Date:      Sun Apr 23 20:05:41 2017 -0500

shared/pci/detect_raven_bridge.c: Fix printf() format warnings

---

 c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c b/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c
index 423dc6f..80d5461 100644
--- a/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c
+++ b/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c
@@ -182,7 +182,7 @@ void detect_host_bridge(void)
       printk("Raven MPIC is accessed via memory Space Access at address : %x\n", tmp);
 #endif
       OpenPIC=(volatile struct OpenPIC *) (tmp + PREP_ISA_MEM_BASE);
-      printk("OpenPIC found at %x.\n", OpenPIC);
+      printk("OpenPIC found at %p.\n", OpenPIC);
     }
   }
 



More information about the vc mailing list