diff options
author | Joel Sherrill <joel@rtems.org> | 2017-04-23 11:49:54 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-04-23 11:49:54 -0500 |
commit | 35e523d9d084e9e609279178e84fb2fba93c57e8 (patch) | |
tree | 148f3a8202bcf6a3dbe458c16949eb689c955c68 | |
parent | spw/grspw_router.c: Include <rtems/bspIo.h> (diff) | |
download | rtems-35e523d9d084e9e609279178e84fb2fba93c57e8.tar.bz2 |
uart/apbuart.c: Correct printk() format
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/uart/apbuart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/uart/apbuart.c b/c/src/lib/libbsp/sparc/shared/uart/apbuart.c index 202def36bd..171f114d86 100644 --- a/c/src/lib/libbsp/sparc/shared/uart/apbuart.c +++ b/c/src/lib/libbsp/sparc/shared/uart/apbuart.c @@ -571,7 +571,7 @@ static rtems_device_driver apbuart_read(rtems_device_major_number major, rtems_d rtems_interrupt_disable(oldLevel); do { if ( (unsigned int)uart < 0x40000000 ) { - printk("UART %x is screwed\n",uart); + printk("UART %p is screwed\n",uart); } /* Read from SW fifo */ if ( apbuart_fifo_get(uart->rxfifo,&buf[count]) != 0 ){ |