package/mtd: write remaining data after adding file to the jffs2 partition
SVN-Revision: 22881
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user