diff options
-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 ){ |