git: 7fa574106572 - stable/13 - amd64: Fix a common typo in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Jan 2023 09:09:34 UTC
The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=7fa574106572318fb26c3913708927dbeec1d045 commit 7fa574106572318fb26c3913708927dbeec1d045 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2023-01-19 13:27:18 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2023-01-22 09:09:26 +0000 amd64: Fix a common typo in source code comments - s/comparision/comparison/ (cherry picked from commit 05187f2ffc79e5959762ab8ce7067b7b8a1cdfd9) --- 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 a8a3f1869e22..da8af7745af8 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 */