diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-11-08 18:03:09 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-11-08 18:03:09 +0000 |
commit | fb11dfd1e54176fefe838396f9e4932d8dbcf5a9 (patch) | |
tree | dbc1c850b381587515bb28fdf56375015b2a18e7 | |
parent | 1c3c2011720e5bfd70cc685cd74f95b452752085 (diff) | |
download | upstream-fb11dfd1e54176fefe838396f9e4932d8dbcf5a9.tar.gz upstream-fb11dfd1e54176fefe838396f9e4932d8dbcf5a9.tar.bz2 upstream-fb11dfd1e54176fefe838396f9e4932d8dbcf5a9.zip |
Fix small typo #4148
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13142 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | tools/firmware-utils/src/imagetag.c | 2 |
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"); |