You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/25 06:32:09 UTC
[incubator-nuttx] 26/28: drivers/mmcsd/mmcsd_sdio.c: Fix a syslog
format
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 597675bd7fb97c1a5a615bc1d014f5823b99449c
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Nov 25 13:01:13 2020 +0900
drivers/mmcsd/mmcsd_sdio.c: Fix a syslog format
---
drivers/mmcsd/mmcsd_sdio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmcsd/mmcsd_sdio.c b/drivers/mmcsd/mmcsd_sdio.c
index 1d16a8a..600144c 100644
--- a/drivers/mmcsd/mmcsd_sdio.c
+++ b/drivers/mmcsd/mmcsd_sdio.c
@@ -2897,8 +2897,8 @@ static int mmcsd_read_csd(FAR struct mmcsd_state_s *priv)
priv->nblocks = (buffer[215] << 24) | (buffer[214] << 16) |
(buffer[213] << 8) | buffer[212];
- finfo("MMC ext CSD read succsesfully, number of block %d\n",
- priv->nblocks);
+ finfo("MMC ext CSD read succsesfully, number of block %" PRId32 "\n",
+ priv->nblocks);
/* Return value: One sector read */