git: 7181887e8220 - main - kern: Fix two typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Apr 2022 12:15:32 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=7181887e8220879b0d7fd7dc16e455a7e5e22f7d
commit 7181887e8220879b0d7fd7dc16e455a7e5e22f7d
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-02 12:14:31 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-02 12:15:27 +0000
kern: Fix two typos in source code comments
- s/measurment/measurement/
MFC after: 3 days
---
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.
*/