Skip to contentSkip to conversation

ethtool: Fix coalesce settings copy+paste typo

PATCH Applied Auke Kok 2 participants 2 messages Nov 12, 2007 – Nov 24, 2007

Subsystems (2)
lore
Share & tools
lore

Auke Kok

author
#0 lore raw

PATCH 1/1 ethtool: Fix coalesce settings copy+paste typo

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

---

 ethtool.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
ethtool.c +2 -2
index 6c7a2e3..bb9dd59 100644
@@ -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;
 	}
 
Applied
#1 lore raw
Quoted 3 lines · Auke Kok

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

applied