projects
/
openwrt
/
staging
/
lynxis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50d88ac
)
fixed trx version to handling
author
Markus Wigge
<mwigge@marcant.net>
Mon, 28 Jun 2010 17:35:20 +0000
(17:35 +0000)
committer
Markus Wigge
<mwigge@marcant.net>
Mon, 28 Jun 2010 17:35:20 +0000
(17:35 +0000)
I forgot to write the right trx version to the actual header...
SVN-Revision: 21986
tools/firmware-utils/src/trx.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/trx.c
b/tools/firmware-utils/src/trx.c
index 44bd06a068c3e9d27a803bb3fd565b944ca16cb9..fbae789ed9685fef109e2bb85fc33b3853d1d898 100644
(file)
--- a/
tools/firmware-utils/src/trx.c
+++ b/
tools/firmware-utils/src/trx.c
@@
-114,7
+114,6
@@
int main(int argc, char **argv)
p->magic = STORE32_LE(TRX_MAGIC);
cur_len = sizeof(struct trx_header) - 4; /* assume v1 header */
- p->flag_version = STORE32_LE((trx_version << 16));
in = NULL;
i = 0;
@@
-243,6
+242,7
@@
int main(int argc, char **argv)
usage();
}
}
+ p->flag_version = STORE32_LE((trx_version << 16));
if (!in) {
fprintf(stderr, "we require atleast one filename\n");