ramips: ramips_esw: add helper function to set VLAN id
[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.029005 seconds and 4 git commands to generate.