You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/22 02:46:16 UTC
[incubator-nuttx-apps] branch master updated:
fsutils/mkfatfs/mkfatfs.c: Fix a syslog format
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 89ada76 fsutils/mkfatfs/mkfatfs.c: Fix a syslog format
89ada76 is described below
commit 89ada765d3f191f2535cf812e2e0c36a0f8a7b7f
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Sun Nov 22 09:36:20 2020 +0900
fsutils/mkfatfs/mkfatfs.c: Fix a syslog format
---
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 4418576..d6de0d6 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 (%d)\n",
+ ") exceeds blocks on device (%zu)\n",
fmt->ff_nsectors, geometry.geo_nsectors);
return -EINVAL;