git: 3cfb2d365f2b - stable/13 - time(3): Fix spelling.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Nov 2022 12:41:48 UTC
The branch stable/13 has been updated by hselasky:
URL: https://cgit.FreeBSD.org/src/commit/?id=3cfb2d365f2bd5054c26d72e09cc10f37ff56b17
commit 3cfb2d365f2bd5054c26d72e09cc10f37ff56b17
Author: Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-10-23 16:41:28 +0000
Commit: Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-11-12 11:59:57 +0000
time(3): Fix spelling.
Noted by: Gary Jennejohn <garyj@gmx.de>
Sponsored by: NVIDIA Networking
(cherry picked from commit fdd95483332bf7fab36e2562d570a9a914a19769)
---
sys/kern/kern_clock.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 7201f9bb2a0d..e03245a6c492 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -523,7 +523,7 @@ hardclock_sync(int cpu)
}
/*
- * Regular integer scaling formula without loosing precision:
+ * Regular integer scaling formula without losing precision:
*/
#define TIME_INT_SCALE(value, mul, div) \
(((value) / (div)) * (mul) + (((value) % (div)) * (mul)) / (div))
@@ -548,7 +548,7 @@ TIME_ASSERT_VALID_HZ(HZ_MAXIMUM);
TIME_ASSERT_VALID_HZ(HZ_MINIMUM);
/*
- * The forumla is mostly linear, but test some more common values just
+ * The formula is mostly linear, but test some more common values just
* in case:
*/
TIME_ASSERT_VALID_HZ(1024);