Fix small typo #4148

SVN-Revision: 13142
owl
Florian Fainelli 2008-11-08 18:03:09 +00:00
parent d0f837906c
commit bccf525528
1 changed files with 1 additions and 1 deletions

View File

@ -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");