diff options
Diffstat (limited to 'flash_eraseall.c')
-rw-r--r-- | flash_eraseall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flash_eraseall.c b/flash_eraseall.c index 5740719..cb6f632 100644 --- a/flash_eraseall.c +++ b/flash_eraseall.c @@ -210,7 +210,7 @@ int main (int argc, char *argv[]) } cleanmarker.totlen = cpu_to_je32(8); } - cleanmarker.hdr_crc = cpu_to_je32 (crc32 (0, &cleanmarker, sizeof (struct jffs2_unknown_node) - 4)); + cleanmarker.hdr_crc = cpu_to_je32 (mtd_crc32 (0, &cleanmarker, sizeof (struct jffs2_unknown_node) - 4)); } for (eb = 0; eb < (mtd.size / mtd.eb_size); eb++) { |