From 66bdec675470cc0dd42df31366b6f1393a5e37c9 Mon Sep 17 00:00:00 2001 From: Juha Niskanen Date: Sun, 13 Dec 2020 15:44:21 +0200 Subject: [PATCH] drivers/mtd/gd25.c: fix finfo format warning Signed-off-by: Juha Niskanen --- drivers/mtd/gd25.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/gd25.c b/drivers/mtd/gd25.c index ef1a99e65d..9c0b5b25ac 100644 --- a/drivers/mtd/gd25.c +++ b/drivers/mtd/gd25.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include #include @@ -938,7 +938,8 @@ static int gd25_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: %" PRIu32 " erasesize: %" PRIu32 + " neraseblocks: %" PRIu32 "\n", geo->blocksize, geo->erasesize, geo->neraseblocks); } }