diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-04-07 15:14:40 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-04-07 15:14:40 +0000 |
commit | c0e3ae80b5fa2d355d29c02300e5046dbeac5882 (patch) | |
tree | abe86850e5d3971d93a99319f4e19ec9cf81f74c /tools | |
parent | 7206f21b0a016b69a4931703f85c2c980f5a80de (diff) | |
download | upstream-c0e3ae80b5fa2d355d29c02300e5046dbeac5882.tar.gz upstream-c0e3ae80b5fa2d355d29c02300e5046dbeac5882.tar.bz2 upstream-c0e3ae80b5fa2d355d29c02300e5046dbeac5882.zip |
[tools] revert changeset 15081 seems to break Alice box devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15140 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r-- | tools/firmware-utils/src/imagetag.c | 2 |
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); } |