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:
92f99d1
)
Fixed trx - variable append used uninitialised. If -A option was not used, the first...
author
Hamish Guthrie
<hcg@openwrt.org>
Wed, 30 May 2007 10:49:46 +0000
(10:49 +0000)
committer
Hamish Guthrie
<hcg@openwrt.org>
Wed, 30 May 2007 10:49:46 +0000
(10:49 +0000)
SVN-Revision: 7400
src/trx.c
patch
|
blob
|
history
diff --git
a/src/trx.c
b/src/trx.c
index 1131238a4e7fbca48ad79af44aebf9e300871761..f2ad99136706d6cc04fd32e5d582137af5eaac00 100644
(file)
--- a/
src/trx.c
+++ b/
src/trx.c
@@
-88,7
+88,7
@@
int main(int argc, char **argv)
char *ofn = NULL;
char *buf;
char *e;
- int c, i, append;
+ int c, i, append
= 0
;
size_t n;
uint32_t cur_len;
unsigned long maxlen = TRX_MAX_LEN;
@@
-230,7
+230,8
@@
int main(int argc, char **argv)
}
fclose(out);
-
+
+ printf("Offsets:\n0x%08x\n0x%08x\n0x%08x\n", p->offsets[0], p->offsets[1], p->offsets[2]);
return EXIT_SUCCESS;
}