net: netx: Fix signed/unsigned arguments for printf
"%d" in format string requires a signed integer. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
b454f8f33a
commit
7e6406e59e
|
@ -86,7 +86,7 @@ static int netx_eth_send (struct eth_device *edev,
|
|||
#endif
|
||||
val = PFIFO_REG( PFIFO_BASE(CON_FIFO_PORT_LO(xcno)) );
|
||||
if((val & FIFO_PTR_ERROR_MASK) & 0x8)
|
||||
printf("error sending frame: %d\n",val);
|
||||
printf("error sending frame: %u\n", val);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue