From: Florian Fainelli Date: Sat, 8 Nov 2008 18:03:09 +0000 (+0000) Subject: Fix small typo #4148 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bccf525528d5877a124524313111e7d5b8fcb334;p=openwrt%2Fstaging%2Fldir.git Fix small typo #4148 SVN-Revision: 13142 --- 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");