arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi
2020-12-01 13:52:31 +09:00
committed by Xiang Xiao
parent f7d942a455
commit 5533222631
+2 -1
View File
@@ -2098,7 +2098,8 @@ static int lpc17_40_recvshortcrc(FAR struct sdio_dev_s *dev, uint32_t cmd,
if ((uint8_t)(respcmd & SDCARD_RESPCMD_MASK) !=
(cmd & MMCSD_CMDIDX_MASK))
{
mcerr("ERROR: RESCMD=%02x CMD=%08x\n", respcmd, cmd);
mcerr("ERROR: RESCMD=%02" PRIx32 " CMD=%08" PRIx32 "\n",
respcmd, cmd);
ret = -EINVAL;
}
}