Skip to contentSkip to conversation

ethtool: fix a typo in displaying channel parameters

PATCH Applied Amos Kong 2 participants 2 messages Apr 18, 2014 – Apr 21, 2014

Subsystems (2)
lore
Share & tools
lore

Amos Kong

author
#0 lore raw

PATCH 1/1 ethtool: fix a typo in displaying channel parameters

 # ethtool -L eth0 combined 1
 combined unmodified, ignoring
 no channel parameters changed, aborting
 current values: tx 0 rx 0 other 0combined 1
                                ^^^^
---
 ethtool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ethtool.c +1 -1
index acb4397..4c75653 100644
@@ -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;
Signature · 1 line
1.9.0
#1 lore raw
Quoted 16 lines · Amos Kong
 # ethtool -L eth0 combined 1
 combined unmodified, ignoring
 no channel parameters changed, aborting
 current values: tx 0 rx 0 other 0combined 1
                                ^^^^
---
 ethtool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ethtool.c +0 -0
index acb4397..4c75653 100644

ethtool.c static int do_schannels(struct cmd_context *ctx) · line 1770

Quoted 8 lines
ethtool.c +1 -1
@@ -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.

Signature · 2 lines
Ben Hutchings
Knowledge is power.  France is bacon.