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); } }