projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0f8379
)
Fix small typo #4148
author
Florian Fainelli
<florian@openwrt.org>
Sat, 8 Nov 2008 18:03:09 +0000
(18:03 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sat, 8 Nov 2008 18:03:09 +0000
(18:03 +0000)
SVN-Revision: 13142
tools/firmware-utils/src/imagetag.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/imagetag.c
b/tools/firmware-utils/src/imagetag.c
index 04b1f481fa59d5a3f7dd80bf8f18e7fda129c6ef..c9259212cff329d8d0ca1681285a2e2644aa0bca 100644
(file)
--- a/
tools/firmware-utils/src/imagetag.c
+++ b/
tools/firmware-utils/src/imagetag.c
@@
-204,7
+204,7
@@
int tagfile(const char *kernel, const char *rootfs, const char *bin,
/* Build the tag */
strcpy(tag.tagver, IMAGETAG_VER);
strncpy(tag.sig1, IMAGETAG_MAGIC1, sizeof(tag.sig1) - 1);
- strncpy(tag.sig2, IMAGETAG_MAGIC2, sizeof(tag.sig
1
) - 1);
+ strncpy(tag.sig2, IMAGETAG_MAGIC2, sizeof(tag.sig
2
) - 1);
strcpy(tag.chipid, chipid);
strcpy(tag.boardid, boardid);
strcpy(tag.bigendian, "1");