netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ethtool: Fix coalesce settings copy+paste typo
@ 2007-11-12 18:28 Auke Kok
  2007-11-24  1:56 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Auke Kok @ 2007-11-12 18:28 UTC (permalink / raw)
  To: jeff, davem; +Cc: netdev

Coalesce setting errors use the same error messages as the
descriptor ring errors.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.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;
 	}
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-24  1:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-12 18:28 [PATCH] ethtool: Fix coalesce settings copy+paste typo Auke Kok
2007-11-24  1:56 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).