[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071112182842.24618.61654.stgit@localhost.localdomain>
Date: Mon, 12 Nov 2007 10:28:42 -0800
From: Auke Kok <auke-jan.h.kok@...el.com>
To: jeff@...zik.org, davem@...emloft.net
Cc: netdev@...r.kernel.org
Subject: [PATCH] ethtool: Fix coalesce settings copy+paste typo
Coalesce setting errors use the same error messages as the
descriptor ring errors.
Signed-off-by: Auke Kok <auke-jan.h.kok@...el.com>
---
ethtool.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ethtool.c b/ethtool.c
index 6c7a2e3..bb9dd59 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -1470,7 +1470,7 @@ static int do_scoalesce(int fd, struct ifreq *ifr)
&changed);
if (!changed) {
- fprintf(stderr, "no ring parameters changed, aborting\n");
+ fprintf(stderr, "no coalesce parameters changed, aborting\n");
return 80;
}
@@ -1478,7 +1478,7 @@ static int do_scoalesce(int fd, struct ifreq *ifr)
ifr->ifr_data = (caddr_t)&ecoal;
err = ioctl(fd, SIOCETHTOOL, ifr);
if (err) {
- perror("Cannot set device ring parameters");
+ perror("Cannot set device coalesce parameters");
return 81;
}
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists