From 2b91ca4dd31e676afbc390067ca448f99fbf3a52 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Mon, 12 Nov 2007 10:28:42 -0800 Subject: 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 Signed-off-by: Jeff Garzik --- ethtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ethtool.c') 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; } -- cgit v1.2.1