diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-25 13:30:24 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-25 13:30:24 +0100 |
commit | 89291a9d5b70778e49e2563247c6c7e3efac9b14 (patch) | |
tree | b8fdf0d2e88d47dda7ba70e088dd3c8dd0c90d78 /fs/jffs2/scan.c | |
parent | c5b553cc2c36f770086a37764f7a06dd615eda8f (diff) | |
download | linux-stable-89291a9d5b70778e49e2563247c6c7e3efac9b14.tar.gz linux-stable-89291a9d5b70778e49e2563247c6c7e3efac9b14.tar.bz2 linux-stable-89291a9d5b70778e49e2563247c6c7e3efac9b14.zip |
[JFFS2] Fix 64-bit size_t problems in XATTR code.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/scan.c')
-rw-r--r-- | fs/jffs2/scan.c | 2 |
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 } if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { - JFFS2_WARNING("node length mismatch at %#08x, read=%u, calc=%u\n", + JFFS2_WARNING("node length mismatch at %#08x, read=%u, calc=%zd\n", ofs, je32_to_cpu(rr->totlen), PAD(sizeof(struct jffs2_raw_xref))); if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen)))) |