git: fdd95483332b - main - time(3): Fix spelling.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Oct 2022 16:43:04 UTC
The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=fdd95483332bf7fab36e2562d570a9a914a19769 commit fdd95483332bf7fab36e2562d570a9a914a19769 Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2022-10-23 16:41:28 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2022-10-23 16:42:11 +0000 time(3): Fix spelling. Noted by: Gary Jennejohn <garyj@gmx.de> MFC after: 1 week Sponsored by: NVIDIA Networking --- 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 c4bb648e3f25..f155d2da7e04 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -556,7 +556,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)) @@ -581,7 +581,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);