projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6c017f
)
fix jffs2 eof marker search in mtd (patch by Daniel Dickinson)
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Sep 2009 23:38:51 +0000
(23:38 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Sep 2009 23:38:51 +0000
(23:38 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17522
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/mtd/src/mtd.c
patch
|
blob
|
history
diff --git
a/package/mtd/src/mtd.c
b/package/mtd/src/mtd.c
index
a19f718
..
be4c1be
100644
(file)
--- a/
package/mtd/src/mtd.c
+++ b/
package/mtd/src/mtd.c
@@
-285,7
+285,7
@@
mtd_write(int imagefd, const char *mtd)
break;
if (jffs2file) {
- if (memcmp(buf, JFFS2_EOF, sizeof(JFFS2_EOF)) == 0) {
+ if (memcmp(buf, JFFS2_EOF, sizeof(JFFS2_EOF)
- 1
) == 0) {
if (!quiet)
fprintf(stderr, "\b\b\b ");
if (quiet < 2)
This page took
0.024438 seconds
and
4
git commands to generate.