From d5bea3d88a4ebcbc5e167e4c07a9771a6d9c37ef Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 7 Apr 2009 15:14:40 +0000 Subject: [PATCH] revert changeset 15081 seems to break Alice box devices SVN-Revision: 15140 --- src/imagetag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imagetag.c b/src/imagetag.c index f5d0cdc..00dad29 100644 --- a/src/imagetag.c +++ b/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); } -- 2.30.2