summaryrefslogtreecommitdiffstats
path: root/lib/librte_bitratestats/rte_bitrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_bitratestats/rte_bitrate.c')
-rw-r--r--lib/librte_bitratestats/rte_bitrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_bitratestats/rte_bitrate.c b/lib/librte_bitratestats/rte_bitrate.c
index 193aa690..3ceb3516 100644
--- a/lib/librte_bitratestats/rte_bitrate.c
+++ b/lib/librte_bitratestats/rte_bitrate.c
@@ -112,7 +112,7 @@ rte_stats_bitrate_calc(struct rte_stats_bitrates *bitrate_data,
port_data->peak_ibits = cnt_bits;
delta = cnt_bits;
delta -= port_data->ewma_ibits;
- /* The +-50 fixes integer rounding during divison */
+ /* The +-50 fixes integer rounding during division */
if (delta > 0)
delta = (delta * alpha_percent + 50) / 100;
else