aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Nunley <nicholas.d.nunley@intel.com>2019-03-01 00:15:32 -0800
committerJohn W. Linville <linville@tuxdriver.com>2019-03-14 14:31:26 -0400
commit66501a7e93decf629ea8cd00a0539653ed7ac7c5 (patch)
treee16cd96838816716dba4aac76bf13b5086a70629
parent759d695f5f93094b8da86c977b51cce2e2af3cd9 (diff)
downloadethtool-66501a7e93decf629ea8cd00a0539653ed7ac7c5.tar.gz
ethtool: fix up dump_coalesce output to match actual option names
When the coalesce settings are printed with --show-coalesce a few of the option names lack the pluralization that is present in the man page and usage info, but are otherwise identical. This inconsistency could lead to some confusion if a user attempts to set the coalesce settings by matching the output they see from --show-coalesce, so fix this. Signed-off-by: Nicholas Nunley <nicholas.d.nunley@intel.com> Reviewed-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--ethtool.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ethtool.c b/ethtool.c
index d1b82f0..8fbb4bd 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -1420,14 +1420,14 @@ static int dump_coalesce(const struct ethtool_coalesce *ecoal)
"tx-frames-irq: %u\n"
"\n"
"rx-usecs-low: %u\n"
- "rx-frame-low: %u\n"
+ "rx-frames-low: %u\n"
"tx-usecs-low: %u\n"
- "tx-frame-low: %u\n"
+ "tx-frames-low: %u\n"
"\n"
"rx-usecs-high: %u\n"
- "rx-frame-high: %u\n"
+ "rx-frames-high: %u\n"
"tx-usecs-high: %u\n"
- "tx-frame-high: %u\n"
+ "tx-frames-high: %u\n"
"\n",
ecoal->stats_block_coalesce_usecs,
ecoal->rate_sample_interval,