firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
[openwrt.git] / package / mtd / src / jffs2.c
index 49a7d56..512f222 100644 (file)
@@ -247,7 +247,7 @@ int mtd_replace_jffs2(const char *mtd, int fd, int ofs, const char *filename)
 #ifdef target_brcm
        trx_fixup(outfd, mtd);
 #endif
-       return 0;
+       return (mtdofs - ofs);
 }
 
 void mtd_parse_jffs2data(const char *buf, const char *dir)
This page took 0.020383 seconds and 4 git commands to generate.