projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
df6f2d9
)
fix small trx_check bug in mtd
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 12 Nov 2005 21:21:27 +0000
(21:21 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 12 Nov 2005 21:21:27 +0000
(21:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2455
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/mtd/mtd.c
patch
|
blob
|
history
diff --git
a/package/mtd/mtd.c
b/package/mtd/mtd.c
index
45f1308
..
06d765c
100644
(file)
--- a/
package/mtd/mtd.c
+++ b/
package/mtd/mtd.c
@@
-360,7
+360,7
@@
int main (int argc, char **argv)
}
}
}
}
- if (system("grep Broadcom /proc/cpuinfo >&- >&-")
!
= 0) {
+ if (system("grep Broadcom /proc/cpuinfo >&- >&-")
=
= 0) {
/* check trx file before erasing or writing anything */
if (!trx_check(imagefd, device)) {
fprintf(stderr, "TRX check failed!\n");
/* check trx file before erasing or writing anything */
if (!trx_check(imagefd, device)) {
fprintf(stderr, "TRX check failed!\n");
This page took
0.02468 seconds
and
4
git commands to generate.