git: 05187f2ffc79 - main - amd64: Fix a common typo in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Jan 2023 13:27:28 UTC
The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=05187f2ffc79e5959762ab8ce7067b7b8a1cdfd9 commit 05187f2ffc79e5959762ab8ce7067b7b8a1cdfd9 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2023-01-19 13:27:18 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2023-01-19 13:27:18 +0000 amd64: Fix a common typo in source code comments - s/comparision/comparison/ MFC after: 3 days --- sys/amd64/amd64/support.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S index 223a9cc7f444..d8958cda430a 100644 --- a/sys/amd64/amd64/support.S +++ b/sys/amd64/amd64/support.S @@ -922,7 +922,7 @@ copy_fault: /* * casueword32. Compare and set user integer. Returns -1 on fault, - * 0 if access was successful, and 1 when comparision failed. + * 0 if access was successful, and 1 when comparison failed. * Old value is written to *oldp. * dst = %rdi, old = %esi, oldp = %rdx, new = %ecx */ @@ -1002,7 +1002,7 @@ END(casueword32_smap) /* * casueword. Compare and set user long. Returns -1 on fault, - * 0 if access was successful, and 1 when comparision failed. + * 0 if access was successful, and 1 when comparison failed. * Old value is written to *oldp. * dst = %rdi, old = %rsi, oldp = %rdx, new = %rcx */