[JFFS2] Fix printk format in jffs2_sum_write_data() error message.
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Tue May 16 12:59:01 EDT 2006
Commit: c41ff6e5f38b02ff927d0d510e28dc1392bb4690
Parent: 7d2beb135986477f53da77303356bd04329f8d0e
Author: David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Tue May 16 17:05:33 2006 +0100
Commit: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue May 16 17:05:33 2006 +0100
[JFFS2] Fix printk format in jffs2_sum_write_data() error message.
fs/jffs2/summary.c: In function ‘jffs2_sum_write_data’:
fs/jffs2/summary.c:658: warning: format ‘%zd’ expects type ‘signed size_t’, but argument 4 has type ‘uint32_t’
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
fs/jffs2/summary.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/jffs2/summary.c b/fs/jffs2/summary.c
index 7b0ed77..48293c1 100644
--- a/fs/jffs2/summary.c
+++ b/fs/jffs2/summary.c
@@ -655,7 +655,7 @@ static int jffs2_sum_write_data(struct j
if (ret || (retlen != infosize)) {
- JFFS2_WARNING("Write of %d bytes at 0x%08x failed. returned %d, retlen %zu\n",
+ JFFS2_WARNING("Write of %u bytes at 0x%08x failed. returned %d, retlen %zd\n",
infosize, jeb->offset + c->sector_size - jeb->free_size, ret, retlen);
c->summary->sum_size = JFFS2_SUMMARY_NOSUM_SIZE;
More information about the linux-mtd-cvs
mailing list