mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 23:23:31 +00:00
fixed trx version to handling
I forgot to write the right trx version to the actual header... SVN-Revision: 21986
This commit is contained in:
parent
50d88ac7d4
commit
67416b62d7
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user