ethtool: fix typo on setting speed 10000
Subsystems (2)
PATCH 1/1 ethtool: fix typo on setting speed 10000
From: Jesse Brandeburg <[email protected]>
fix the typo in speed 10000 setting.
Signed-off-by Jesse Brandeburg <[email protected]>
Signed-off-by Auke Kok <[email protected]>
---
ethtool.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
ethtool.c +1 -1
@@ -524,7 +524,7 @@ static void parse_cmdline(int argc, char **argp) speed_wanted =SPEED_1000 ; else if (!strcmp(argp[i], "2500")) speed_wanted =SPEED_2500 ; - else if (!strcmp(argp[1], "10000")) + else if (!strcmp(argp[i], "10000")) speed_wanted =SPEED_10000 ; else show_usage(1);
Jeff Garzik
AppliedQuoted 9 lines · Auke Kok
From: Jesse Brandeburg <[email protected]>
fix the typo in speed 10000 setting.
Signed-off-by Jesse Brandeburg <[email protected]>Signed-off-by Auke Kok <[email protected]>---
ethtool.c | 2 +-
applied