diff --git a/drivers/mtd/sst25xx.c b/drivers/mtd/sst25xx.c index 1f393d8e64..95ee4c70e7 100644 --- a/drivers/mtd/sst25xx.c +++ b/drivers/mtd/sst25xx.c @@ -48,6 +48,7 @@ #include #include +#include #include #include #include @@ -908,7 +909,8 @@ static int sst25xx_ioctl(FAR struct mtd_dev_s *dev, int cmd, ret = OK; - finfo("blocksize: %d erasesize: %d neraseblocks: %d\n", + finfo("blocksize: %" PRId32 " erasesize: %" PRId32 + " neraseblocks: %" PRId32 "\n", geo->blocksize, geo->erasesize, geo->neraseblocks); } }