[tools] revert changeset 15081 seems to break Alice box devices
[openwrt-10.03/.git] / tools / firmware-utils / src / imagetag.c
index af37992fae803de94ceffea1e721d5a82d93bbdf..00dad292536299b48c116ee11ee8ba6b82af51d9 100644 (file)
@@ -191,10 +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);
-               /*
-                * TODO: Is this necessary ?
-                * crc = crc32(crc, readbuf, read);
-                */
+               //crc = crc32(crc, readbuf, read);
                fwrite(readbuf, sizeof(uint8_t), read, binfile);
        }