Fix small typo #4148
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Nov 2008 18:03:09 +0000 (18:03 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Nov 2008 18:03:09 +0000 (18:03 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13142 3c298f89-4303-0410-b956-a3cf2f4a3e73

tools/firmware-utils/src/imagetag.c

index 04b1f48..c925921 100644 (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);
        /* 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");
        strcpy(tag.chipid, chipid);
        strcpy(tag.boardid, boardid);
        strcpy(tag.bigendian, "1");
This page took 0.033374 seconds and 4 git commands to generate.