From 57f45a07c48322a9978d242938870e5c40d3d079 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 30 Nov 2020 12:52:33 +0900 Subject: [PATCH] drivers/mtd/at25.c: Fix a syslog format --- drivers/mtd/at25.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/at25.c b/drivers/mtd/at25.c index 76507fae43..bb37e778c9 100644 --- a/drivers/mtd/at25.c +++ b/drivers/mtd/at25.c @@ -42,6 +42,7 @@ #include #include +#include #include #include #include @@ -620,7 +621,8 @@ static int at25_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg) geo->neraseblocks = priv->nsectors; ret = OK; - finfo("blocksize: %d erasesize: %d neraseblocks: %d\n", + finfo("blocksize: %" PRId32 " erasesize: %" PRId32 + " neraseblocks: %" PRId32 "\n", geo->blocksize, geo->erasesize, geo->neraseblocks); } }