uart/apbuart.c: Correct printk() format

This commit is contained in:
Joel Sherrill
2017-04-23 11:49:54 -05:00
parent 76052e6b33
commit 35e523d9d0

View File

@@ -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 ){