projects
/
project
/
firmware-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a9d191
)
revert changeset 15081 seems to break Alice box devices
author
Florian Fainelli
<florian@openwrt.org>
Tue, 7 Apr 2009 15:14:40 +0000
(15:14 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Tue, 7 Apr 2009 15:14:40 +0000
(15:14 +0000)
SVN-Revision: 15140
src/imagetag.c
patch
|
blob
|
history
diff --git
a/src/imagetag.c
b/src/imagetag.c
index f5d0cdca3279f842f88843e868c352c94e4c503d..00dad292536299b48c116ee11ee8ba6b82af51d9 100644
(file)
--- 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);
}