aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jffs2/scan.c')
-rw-r--r--fs/jffs2/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c
index 404ba6e48581..3fb0e7e82cf2 100644
--- a/fs/jffs2/scan.c
+++ b/fs/jffs2/scan.c
@@ -379,7 +379,7 @@ static int jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock
379 } 379 }
380 380
381 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { 381 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) {
382 JFFS2_WARNING("node length mismatch at %#08x, read=%u, calc=%u\n", 382 JFFS2_WARNING("node length mismatch at %#08x, read=%u, calc=%zd\n",
383 ofs, je32_to_cpu(rr->totlen), 383 ofs, je32_to_cpu(rr->totlen),
384 PAD(sizeof(struct jffs2_raw_xref))); 384 PAD(sizeof(struct jffs2_raw_xref)));
385 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen)))) 385 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen))))