diff options
author | Nicholas Nunley <nicholas.d.nunley@intel.com> | 2019-03-01 00:15:32 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2019-03-14 14:31:26 -0400 |
commit | 66501a7e93decf629ea8cd00a0539653ed7ac7c5 (patch) | |
tree | e16cd96838816716dba4aac76bf13b5086a70629 | |
parent | 759d695f5f93094b8da86c977b51cce2e2af3cd9 (diff) | |
download | ethtool-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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, |