aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/mktplinkfw2.c2
1 files changed, 1 insertions, 1 deletions
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;
}