mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 07:29:33 +02:00
[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
This commit is contained in:
parent
3072265237
commit
2b90090152
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user