ethtool: Fix coalesce settings copy+paste typo
Subsystems (2)
PATCH 1/1 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 <[email protected]>
---
ethtool.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
ethtool.c +2 -2
@@ -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 ; }
Jeff Garzik
AppliedQuoted 3 lines · Auke Kok
Coalesce setting errors use the same error messages as the descriptor ring errors.
applied