summaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-31 09:09:02 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-31 09:09:02 +0000
commit512ff15a0b582528982a189a8c3f12bd8207c1fe (patch)
tree21d76d4f2d746d0a7d979a339a85391cbda219ad /tools/firmware-utils/src
parentee8c52f35eecb228c1eac0617e369148d0c31eaf (diff)
Fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6771 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/firmware-utils/src')
-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 a98aba766..aae68ebed 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);