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 723f590345eed03d2d256167b4ea2540fd58b193 Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Wed Nov 25 16:53:41 2020 +0900 drivers/mtd/m25px.c: Fix a syslog format --- drivers/mtd/m25px.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/m25px.c b/drivers/mtd/m25px.c index a2f96ed..32c96bf 100644 --- a/drivers/mtd/m25px.c +++ b/drivers/mtd/m25px.c @@ -42,6 +42,7 @@ #include <nuttx/config.h> #include <sys/types.h> +#include <inttypes.h> #include <stdint.h> #include <stdbool.h> #include <stdlib.h> @@ -1007,7 +1008,8 @@ static int m25p_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg) ret = OK; - finfo("blocksize: %d erasesize: %d neraseblocks: %d\n", + finfo("blocksize: %" PRId32 " erasesize: %" PRId32 + " neraseblocks: %" PRId32 "\n", geo->blocksize, geo->erasesize, geo->neraseblocks); } }