aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-08 18:03:09 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-08 18:03:09 +0000
commitbccf525528d5877a124524313111e7d5b8fcb334 (patch)
tree66cb6c0dbea3d861917f39536257534f605a6ac7 /tools
parentd0f837906c406543f8c3ce213daf82bbcee4076e (diff)
downloadupstream-bccf525528d5877a124524313111e7d5b8fcb334.tar.gz
upstream-bccf525528d5877a124524313111e7d5b8fcb334.tar.bz2
upstream-bccf525528d5877a124524313111e7d5b8fcb334.zip
Fix small typo #4148
SVN-Revision: 13142
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/imagetag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/imagetag.c b/tools/firmware-utils/src/imagetag.c
index 04b1f481fa..c9259212cf 100644
--- 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.sig1) - 1);
+ strncpy(tag.sig2, IMAGETAG_MAGIC2, sizeof(tag.sig2) - 1);
strcpy(tag.chipid, chipid);
strcpy(tag.boardid, boardid);
strcpy(tag.bigendian, "1");