diff mbox

ethtool: fix a typo in displaying channel parameters

Message ID 1397785199-1470-1-git-send-email-akong@redhat.com
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Amos Kong April 18, 2014, 1:39 a.m. UTC
# 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(-)

Comments

Ben Hutchings April 21, 2014, 9:36 p.m. UTC | #1
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.
diff mbox

Patch

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;