projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ifxmips]
[openwrt.git]
/
package
/
mtd
/
src
/
jffs2.c
diff --git
a/package/mtd/src/jffs2.c
b/package/mtd/src/jffs2.c
index 49a7d56120e05cc78a6e12754a1a67c9eab2670a..512f22278cd3a261c7cc8a7c00df309b79f34e35 100644
(file)
--- a/
package/mtd/src/jffs2.c
+++ b/
package/mtd/src/jffs2.c
@@
-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)