aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-07 15:14:40 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-07 15:14:40 +0000
commit47387c945a9bd5d560070fe181e0b69336ef8be0 (patch)
tree986f563e3c68081e13f5ec141d35953c99be4341 /tools/firmware-utils
parent5d5c8300b1cd250d739529dcfdf8d38abf468bce (diff)
downloadupstream-47387c945a9bd5d560070fe181e0b69336ef8be0.tar.gz
upstream-47387c945a9bd5d560070fe181e0b69336ef8be0.tar.bz2
upstream-47387c945a9bd5d560070fe181e0b69336ef8be0.zip
revert changeset 15081 seems to break Alice box devices
SVN-Revision: 15140
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/imagetag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/imagetag.c b/tools/firmware-utils/src/imagetag.c
index f5d0cdca32..00dad29253 100644
--- a/tools/firmware-utils/src/imagetag.c
+++ b/tools/firmware-utils/src/imagetag.c
@@ -191,7 +191,7 @@ int tagfile(const char *kernel, const char *rootfs, const char *bin,
fseek(binfile, rootfsoff - fwaddr, SEEK_SET);
while (rootfsfile && !feof(rootfsfile) && !ferror(rootfsfile)) {
read = fread(readbuf, sizeof(uint8_t), sizeof(readbuf), rootfsfile);
- crc = crc32(crc, readbuf, read);
+ //crc = crc32(crc, readbuf, read);
fwrite(readbuf, sizeof(uint8_t), read, binfile);
}