This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 2e17cd2 fsutils: update geometry size (c.f.
apache/incubator-nuttx#2861)
2e17cd2 is described below
commit 2e17cd2e6b98e0fc2fe2358830eab02a61b39306
Author: Byron Ellacott <[email protected]>
AuthorDate: Wed Feb 17 20:54:15 2021 +1000
fsutils: update geometry size (c.f. apache/incubator-nuttx#2861)
---
fsutils/mkfatfs/mkfatfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fsutils/mkfatfs/mkfatfs.c b/fsutils/mkfatfs/mkfatfs.c
index d6de0d6..b7aa323 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;