From patchwork Fri Apr 18 01:39:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amos Kong X-Patchwork-Id: 340207 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 64EC31400DD for ; Fri, 18 Apr 2014 15:14:30 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751330AbaDRCSo (ORCPT ); Thu, 17 Apr 2014 22:18:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44993 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbaDRCSn (ORCPT ); Thu, 17 Apr 2014 22:18:43 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s3I2Ifil013710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 17 Apr 2014 22:18:42 -0400 Received: from amosk.info.com (vpn1-114-86.nay.redhat.com [10.66.114.86]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s3I1e2CE019630; Thu, 17 Apr 2014 21:40:03 -0400 From: Amos Kong To: netdev@vger.kernel.org Cc: bwh@kernel.org Subject: [PATCH] ethtool: fix a typo in displaying channel parameters Date: Fri, 18 Apr 2014 09:39:59 +0800 Message-Id: <1397785199-1470-1-git-send-email-akong@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org # 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 --- 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;