* [PATCH] ethtool: fix typo on setting speed 10000
@ 2007-11-26 18:39 Auke Kok
2007-12-01 21:59 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Auke Kok @ 2007-11-26 18:39 UTC (permalink / raw)
To: jeff; +Cc: netdev, jesse.brandeburg, auke-jan.h.kok, davem
From: Jesse Brandeburg <jesse.brandeburg@intel.com>
fix the typo in speed 10000 setting.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
---
ethtool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ethtool.c b/ethtool.c
index 3adf843..a668b49 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -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);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ethtool: fix typo on setting speed 10000
2007-11-26 18:39 [PATCH] ethtool: fix typo on setting speed 10000 Auke Kok
@ 2007-12-01 21:59 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-12-01 21:59 UTC (permalink / raw)
To: Auke Kok; +Cc: netdev, jesse.brandeburg, davem
Auke Kok wrote:
> From: Jesse Brandeburg <jesse.brandeburg@intel.com>
>
> fix the typo in speed 10000 setting.
>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
> ---
>
> ethtool.c | 2 +-
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-01 21:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-26 18:39 [PATCH] ethtool: fix typo on setting speed 10000 Auke Kok
2007-12-01 21:59 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).