fix typo in bash expression

Fortunately the error doesn't change the value of the expression
(since undefined variables are treated as 0 inside "$((...))").
This commit is contained in:
Doug Zongker 2009-08-25 20:38:50 -07:00
parent 6dd2ae02c1
commit 4ac1ba6107

View file

@ -1589,7 +1589,7 @@ $(if $(2), \
if [ "$(3)" == "yaffs" ]; then \
reservedblocks=5; \
else \
reselvedblocks=0; \
reservedblocks=0; \
fi; \
twoblocks=$$((img_blocksize * 2)); \
onepct=$$((((($(2) / 100) - 1) / img_blocksize + 1) * img_blocksize)); \