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 6196eb07963748d93d42c51f047e1f22e05f53e0 Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Thu Nov 26 17:29:57 2020 +0900 arch/arm/src/cxd56xx/cxd56_sfc.c: Fix a syslog format --- arch/arm/src/cxd56xx/cxd56_sfc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/cxd56xx/cxd56_sfc.c b/arch/arm/src/cxd56xx/cxd56_sfc.c index 741754b..6d10d7b 100644 --- a/arch/arm/src/cxd56xx/cxd56_sfc.c +++ b/arch/arm/src/cxd56xx/cxd56_sfc.c @@ -42,6 +42,7 @@ #include <nuttx/arch.h> #include <nuttx/mtd/mtd.h> +#include <inttypes.h> #include <stdint.h> #include <string.h> #include <errno.h> @@ -220,7 +221,8 @@ static int cxd56_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg) geo->neraseblocks = priv->density >> SECTOR_SHIFT; ret = OK; - finfo("blocksize: %d erasesize: %d neraseblocks: %d\n", + finfo("blocksize: %" PRId32 " erasesize: %" PRId32 + " neraseblocks: %" PRId32 "\n", geo->blocksize, geo->erasesize, geo->neraseblocks); } }