projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e8f0bc
)
mtd: fix image check on non-broadcom platforms
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 2 Oct 2008 18:19:02 +0000
(18:19 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 2 Oct 2008 18:19:02 +0000
(18:19 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12825
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
b180aec
..
3e84fd6
100644
(file)
--- a/
package/mtd/src/mtd.c
+++ b/
package/mtd/src/mtd.c
@@
-138,7
+138,7
@@
int mtd_write_buffer(int fd, const char *buf, int offset, int length)
static int
image_check(int imagefd, const char *mtd)
{
- int ret =
0
;
+ int ret =
1
;
#ifdef target_brcm
ret = trx_check(imagefd, mtd, buf, &buflen);
#endif
This page took
0.026575 seconds
and
4
git commands to generate.