projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f548e54
)
firmware-utils:fix a bug in mkzynfw, thanks to <theosch at gmx.de> (closes #3003)
author
Gabor Juhos
<juhosg@openwrt.org>
Thu, 17 Jan 2008 14:46:10 +0000
(14:46 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Thu, 17 Jan 2008 14:46:10 +0000
(14:46 +0000)
SVN-Revision: 10218
tools/firmware-utils/src/mkzynfw.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/mkzynfw.c
b/tools/firmware-utils/src/mkzynfw.c
index 130d95a8c037dba9fac085bd0644e03d80c300eb..bc512c82e6d867681d84c8de6044712d497e1795 100755
(executable)
--- a/
tools/firmware-utils/src/mkzynfw.c
+++ b/
tools/firmware-utils/src/mkzynfw.c
@@
-794,7
+794,7
@@
parse_opt_block(char ch, char *arg)
struct fw_block *block;
int i;
- if ( num_blocks > MAX_NUM_BLOCKS ) {
+ if ( num_blocks >
=
MAX_NUM_BLOCKS ) {
ERR("too many blocks specified");
return -1;
}