* [PATCH] ethtool: fix a typo in displaying channel parameters
@ 2014-04-18 1:39 Amos Kong
2014-04-21 21:36 ` Ben Hutchings
0 siblings, 1 reply; 2+ messages in thread
From: Amos Kong @ 2014-04-18 1:39 UTC (permalink / raw)
To: netdev; +Cc: bwh
# ethtool -L eth0 combined 1
combined unmodified, ignoring
no channel parameters changed, aborting
current values: tx 0 rx 0 other 0combined 1
^^^^
Signed-off-by: Amos Kong <akong@redhat.com>
---
ethtool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ethtool.c b/ethtool.c
index acb4397..4c75653 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -1764,7 +1764,7 @@ static int do_schannels(struct cmd_context *ctx)
if (!changed) {
fprintf(stderr, "no channel parameters changed, aborting\n");
fprintf(stderr, "current values: tx %u rx %u other %u"
- "combined %u\n", echannels.rx_count,
+ " combined %u\n", echannels.rx_count,
echannels.tx_count, echannels.other_count,
echannels.combined_count);
return 1;
--
1.9.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ethtool: fix a typo in displaying channel parameters
2014-04-18 1:39 [PATCH] ethtool: fix a typo in displaying channel parameters Amos Kong
@ 2014-04-21 21:36 ` Ben Hutchings
0 siblings, 0 replies; 2+ messages in thread
From: Ben Hutchings @ 2014-04-21 21:36 UTC (permalink / raw)
To: Amos Kong; +Cc: netdev, bwh
[-- Attachment #1: Type: text/plain, Size: 996 bytes --]
On Fri, 2014-04-18 at 09:39 +0800, Amos Kong wrote:
> # ethtool -L eth0 combined 1
> combined unmodified, ignoring
> no channel parameters changed, aborting
> current values: tx 0 rx 0 other 0combined 1
> ^^^^
>
> Signed-off-by: Amos Kong <akong@redhat.com>
> ---
> ethtool.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ethtool.c b/ethtool.c
> index acb4397..4c75653 100644
> --- a/ethtool.c
> +++ b/ethtool.c
> @@ -1764,7 +1764,7 @@ static int do_schannels(struct cmd_context *ctx)
> if (!changed) {
> fprintf(stderr, "no channel parameters changed, aborting\n");
> fprintf(stderr, "current values: tx %u rx %u other %u"
> - "combined %u\n", echannels.rx_count,
> + " combined %u\n", echannels.rx_count,
> echannels.tx_count, echannels.other_count,
> echannels.combined_count);
> return 1;
Applied, thanks.
Ben.
--
Ben Hutchings
Knowledge is power. France is bacon.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-21 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-18 1:39 [PATCH] ethtool: fix a typo in displaying channel parameters Amos Kong
2014-04-21 21:36 ` Ben Hutchings
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).