git: 1bba32c796ef - stable/13 - kern: Fix two typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 06:14:59 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=1bba32c796ef7214ede338e4b3401d6bfe22f836
commit 1bba32c796ef7214ede338e4b3401d6bfe22f836
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-02 12:14:31 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 06:11:47 +0000
kern: Fix two typos in source code comments
- s/measurment/measurement/
(cherry picked from commit 7181887e8220879b0d7fd7dc16e455a7e5e22f7d)
---
sys/kern/subr_filter.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sys/kern/subr_filter.c b/sys/kern/subr_filter.c
index 9b36058e481c..51c4fd70039b 100644
--- a/sys/kern/subr_filter.c
+++ b/sys/kern/subr_filter.c
@@ -320,13 +320,13 @@ tick_filter_clock(struct time_filter *tf, uint32_t now)
* The other choice would be to fill it in with
* zero, but I don't like that option since
* some measurement is better than none (even
- * if its your oldest measurment).
+ * if its your oldest measurement).
*/
for(i=(NUM_FILTER_ENTRIES-2); i>=0 ; i--) {
tim = now - tf->entries[i].time_up;
time_limit = (tf->cur_time_limit * (NUM_FILTER_ENTRIES-i))/NUM_FILTER_ENTRIES;
if (tim >= time_limit) {
- /*
+ /*
* This entry is expired, pull down
* the next one up.
*/
@@ -351,13 +351,13 @@ tick_filter_clock_small(struct time_filter_small *tf, uint32_t now)
* The other choice would be to fill it in with
* zero, but I don't like that option since
* some measurement is better than none (even
- * if its your oldest measurment).
+ * if its your oldest measurement).
*/
for(i=(NUM_FILTER_ENTRIES-2); i>=0 ; i--) {
tim = now - tf->entries[i].time_up;
time_limit = (tf->cur_time_limit * (NUM_FILTER_ENTRIES-i))/NUM_FILTER_ENTRIES;
if (tim >= time_limit) {
- /*
+ /*
* This entry is expired, pull down
* the next one up.
*/