diff --git a/fsutils/mkfatfs/mkfatfs.c b/fsutils/mkfatfs/mkfatfs.c index d6de0d65f..b7aa323b6 100644 --- a/fsutils/mkfatfs/mkfatfs.c +++ b/fsutils/mkfatfs/mkfatfs.c @@ -154,7 +154,7 @@ static inline int mkfatfs_getgeometry(FAR struct fat_format_s *fmt, if (fmt->ff_nsectors > geometry.geo_nsectors) { ferr("ERROR: User maxblocks (%" PRId32 - ") exceeds blocks on device (%zu)\n", + ") exceeds blocks on device (%" PRIu32 ")\n", fmt->ff_nsectors, geometry.geo_nsectors); return -EINVAL;