projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01e335a
)
fix small trx_check bug in mtd
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 12 Nov 2005 21:21:27 +0000
(21:21 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 12 Nov 2005 21:21:27 +0000
(21:21 +0000)
SVN-Revision: 2455
openwrt/package/mtd/mtd.c
patch
|
blob
|
history
diff --git
a/openwrt/package/mtd/mtd.c
b/openwrt/package/mtd/mtd.c
index 45f1308414611974eb965b40ba64b1e7a9d633c3..06d765ce8bea74aa2c9f0dbdb300e913f7c20e66 100644
(file)
--- a/
openwrt/package/mtd/mtd.c
+++ b/
openwrt/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");