aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-03-31 09:09:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-03-31 09:09:02 +0000
commit73baaa6b6ad53d8fc8a6d1013376f5e93c4cf684 (patch)
tree21d76d4f2d746d0a7d979a339a85391cbda219ad /tools
parente8fc01d20cc73765ccd6d0d15364b6043153a9bf (diff)
downloadupstream-73baaa6b6ad53d8fc8a6d1013376f5e93c4cf684.tar.gz
upstream-73baaa6b6ad53d8fc8a6d1013376f5e93c4cf684.tar.bz2
upstream-73baaa6b6ad53d8fc8a6d1013376f5e93c4cf684.zip
Fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6771 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/airlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/airlink.c b/tools/firmware-utils/src/airlink.c
index a98aba7668..aae68ebede 100644
--- a/tools/firmware-utils/src/airlink.c
+++ b/tools/firmware-utils/src/airlink.c
@@ -288,7 +288,7 @@ int main(int argc, char **argv)
*((u32 *) & buf[0x4]) = 0x0L;
memcpy(b, buf, 0x100);
memcpy(b + 0x100, buf + ((l0 >> 1) - ((l0 & 0x6) >> 1)), 0x100);
- memcpy(b + 0x200, buf + (I0 - 0x200), 0x200);
+ memcpy(b + 0x200, buf + (l0 - 0x200), 0x200);
*((u32 *) & b[0x18]) = 0x0L;
sum = crc32(b, 0x400);