projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
busybox 1.19.4 update patch
[openwrt.git]
/
tools
/
firmware-utils
/
src
/
trx.c
diff --git
a/tools/firmware-utils/src/trx.c
b/tools/firmware-utils/src/trx.c
index
426a6b5
..
8e95d98
100644
(file)
--- a/
tools/firmware-utils/src/trx.c
+++ b/
tools/firmware-utils/src/trx.c
@@
-276,7
+276,7
@@
int main(int argc, char **argv)
(fsmark)?fsmark:cur_len - offsetof(struct trx_header, flag_version));
p->crc32 = STORE32_LE(p->crc32);
(fsmark)?fsmark:cur_len - offsetof(struct trx_header, flag_version));
p->crc32 = STORE32_LE(p->crc32);
- p->len =
(fsmark)?fsmark:cur_len - offsetof(struct trx_header, flag_versio
n);
+ p->len =
STORE32_LE((fsmark) ? fsmark : cur_le
n);
p->len = STORE32_LE(p->len);
/* restore TRXv2 bin-header */
p->len = STORE32_LE(p->len);
/* restore TRXv2 bin-header */
This page took
0.026004 seconds
and
4
git commands to generate.