arch/arm/src/lc823450/lc823450_serial.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-29 16:31:40 +09:00 committed by Xiang Xiao
parent c1ba3e8ba0
commit 8b4b451521

View File

@ -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;
}