summaryrefslogtreecommitdiff
path: root/ethtool.c
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2007-11-12 10:28:42 -0800
committerJeff Garzik <jeff@garzik.org>2007-11-23 20:56:23 -0500
commit2b91ca4dd31e676afbc390067ca448f99fbf3a52 (patch)
tree8cb65b39a5c60bc6be1455ed5b667d4a9f91fbcf /ethtool.c
parent1288ec8133806e23ad94455420bbf5c9efb578db (diff)
downloadethtool-2b91ca4dd31e676afbc390067ca448f99fbf3a52.tar.gz
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@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'ethtool.c')
-rw-r--r--ethtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethtool.c b/ethtool.c
index 888be57..3adf843 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -1477,7 +1477,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;
}
@@ -1485,7 +1485,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;
}