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