ethtool: fix a typo in displaying channel parameters
Subsystems (2)
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
^^^^Signed-off-by Amos Kong <[email protected]>
--- ethtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 ;
Signature · 1 line
1.9.0
Ben Hutchings
AppliedQuoted 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 ^^^^Signed-off-by Amos Kong <[email protected]>--- ethtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)ethtool.c +0
-0
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.