From 896246b8c5835240de5dc72e6253b51528e69930 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Sun, 2 Jul 2017 22:28:24 +0200 Subject: [PATCH] firmware-utils: mktplinkfw2: fix support for -w option MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This fixes copy & paste typo when reading -w argument. Fixes: 4b35e174caa5b ("firmware-utils: mktplinkfw2: support additional hardware version") Signed-off-by: Rafał Miłecki --- tools/firmware-utils/src/mktplinkfw2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/firmware-utils/src/mktplinkfw2.c b/tools/firmware-utils/src/mktplinkfw2.c index 14c5a492b7..aa2e5cc2e4 100644 --- a/tools/firmware-utils/src/mktplinkfw2.c +++ b/tools/firmware-utils/src/mktplinkfw2.c @@ -428,7 +428,7 @@ static int check_options(void) hw_rev = 1; if (opt_hw_ver_add) - hw_ver_add = strtoul(opt_hw_rev, NULL, 0); + hw_ver_add = strtoul(opt_hw_ver_add, NULL, 0); else hw_ver_add = 0; } -- 2.30.2