aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/trx.c
diff options
context:
space:
mode:
authorMarkus Wigge <mwigge@marcant.net>2010-06-28 17:35:20 +0000
committerMarkus Wigge <mwigge@marcant.net>2010-06-28 17:35:20 +0000
commit67416b62d76feab3ffef4b09bd152c45a54072cc (patch)
tree6fdc19208bba06f9ca1b0b260853f32d93961ff4 /tools/firmware-utils/src/trx.c
parent50d88ac7d4f0e6950672d6d3a0ecd9ad622f9e1c (diff)
downloadupstream-67416b62d76feab3ffef4b09bd152c45a54072cc.tar.gz
upstream-67416b62d76feab3ffef4b09bd152c45a54072cc.tar.bz2
upstream-67416b62d76feab3ffef4b09bd152c45a54072cc.zip
fixed trx version to handling
I forgot to write the right trx version to the actual header... SVN-Revision: 21986
Diffstat (limited to 'tools/firmware-utils/src/trx.c')
-rw-r--r--tools/firmware-utils/src/trx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/trx.c b/tools/firmware-utils/src/trx.c
index 44bd06a068..fbae789ed9 100644
--- 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");