From fab675d442262361b4a0509d10db023a33b32363 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sun, 29 Nov 2020 18:26:34 +0900 Subject: [PATCH] arch/arm/src/stm32/stm32_can.c: Fix a syslog format --- arch/arm/src/stm32/stm32_can.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/stm32/stm32_can.c b/arch/arm/src/stm32/stm32_can.c index 3384aa1c31..0d481973ff 100644 --- a/arch/arm/src/stm32/stm32_can.c +++ b/arch/arm/src/stm32/stm32_can.c @@ -1222,8 +1222,8 @@ static int stm32can_send(FAR struct can_dev_s *dev, int dlc; int txmb; - caninfo("CAN%d ID: %d DLC: %d\n", - priv->port, msg->cm_hdr.ch_id, msg->cm_hdr.ch_dlc); + caninfo("CAN%d ID: %" PRId32 " DLC: %d\n", + priv->port, (uint32_t)msg->cm_hdr.ch_id, msg->cm_hdr.ch_dlc); /* Select one empty transmit mailbox */