Skip to content

Commit

Permalink
[JFFS2] Fix printk format in jffs2_sum_write_data() error message.
Browse files Browse the repository at this point in the history
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@infradead.org>
  • Loading branch information
David Woodhouse committed May 16, 2006
1 parent 7d2beb1 commit c41ff6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/jffs2/summary.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ static int jffs2_sum_write_data(struct jffs2_sb_info *c, struct jffs2_eraseblock


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;
Expand Down

0 comments on commit c41ff6e

Please sign in to comment.