fsutils: update geometry size (c.f. apache/incubator-nuttx#2861)
This commit is contained in:
parent
7ebd1309dd
commit
2e17cd2e6b
@ -154,7 +154,7 @@ static inline int mkfatfs_getgeometry(FAR struct fat_format_s *fmt,
|
|||||||
if (fmt->ff_nsectors > geometry.geo_nsectors)
|
if (fmt->ff_nsectors > geometry.geo_nsectors)
|
||||||
{
|
{
|
||||||
ferr("ERROR: User maxblocks (%" PRId32
|
ferr("ERROR: User maxblocks (%" PRId32
|
||||||
") exceeds blocks on device (%zu)\n",
|
") exceeds blocks on device (%" PRIu32 ")\n",
|
||||||
fmt->ff_nsectors, geometry.geo_nsectors);
|
fmt->ff_nsectors, geometry.geo_nsectors);
|
||||||
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user