arch/arm/src/lc823450/lc823450_serial.c: Fix a syslog format
This commit is contained in:
parent
c1ba3e8ba0
commit
8b4b451521
@ -25,6 +25,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <unistd.h>
|
||||
@ -474,7 +475,7 @@ static int up_setup(struct uart_dev_s *dev)
|
||||
|
||||
if (udiv < 0)
|
||||
{
|
||||
serr("ERROR: baud = %d\n", priv->baud);
|
||||
serr("ERROR: baud = %" PRId32 "\n", priv->baud);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user