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 | 47387c945a9bd5d560070fe181e0b69336ef8be0 (patch) | |
tree | 986f563e3c68081e13f5ec141d35953c99be4341 /tools/firmware-utils | |
parent | 5d5c8300b1cd250d739529dcfdf8d38abf468bce (diff) | |
download | mtk-20170518-47387c945a9bd5d560070fe181e0b69336ef8be0.zip mtk-20170518-47387c945a9bd5d560070fe181e0b69336ef8be0.tar.gz mtk-20170518-47387c945a9bd5d560070fe181e0b69336ef8be0.tar.bz2 |
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.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 f5d0cdc..00dad29 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); } |