diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2007-11-12 10:28:42 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-23 20:56:23 -0500 |
commit | 2b91ca4dd31e676afbc390067ca448f99fbf3a52 (patch) | |
tree | 8cb65b39a5c60bc6be1455ed5b667d4a9f91fbcf /ethtool.c | |
parent | 1288ec8133806e23ad94455420bbf5c9efb578db (diff) | |
download | ethtool-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |