git: 576c614b0091 - stable/13 - fpu: Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Jun 2022 12:34:05 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=576c614b0091e4a2399f9bd8a2ce47b73f68d1e6
commit 576c614b0091e4a2399f9bd8a2ce47b73f68d1e6
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-06-04 11:15:53 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-06-10 12:28:28 +0000
fpu: Fix a typo in a source code comment
- s/choise/choice/
Obtained from: NetBSD
(cherry picked from commit faff37be462262c6ae958c93f0aa27118d4d62cf)
---
sys/amd64/amd64/fpu.c | 6 +++---
sys/i386/i386/npx.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c
index 9b23cc5773a3..8be69a347d63 100644
--- a/sys/amd64/amd64/fpu.c
+++ b/sys/amd64/amd64/fpu.c
@@ -524,14 +524,14 @@ fpuformat(void)
return (_MC_FPFMT_XMM);
}
-/*
+/*
* The following mechanism is used to ensure that the FPE_... value
* that is passed as a trapcode to the signal handler of the user
* process does not have more than one bit set.
- *
+ *
* Multiple bits may be set if the user process modifies the control
* word while a status word bit is already set. While this is a sign
- * of bad coding, we have no choise than to narrow them down to one
+ * of bad coding, we have no choice than to narrow them down to one
* bit, since we must not send a trapcode that is not exactly one of
* the FPE_ macros.
*
diff --git a/sys/i386/i386/npx.c b/sys/i386/i386/npx.c
index dc04d84b0eb5..d5a730ce5870 100644
--- a/sys/i386/i386/npx.c
+++ b/sys/i386/i386/npx.c
@@ -600,14 +600,14 @@ npxformat(void)
return (_MC_FPFMT_387);
}
-/*
+/*
* The following mechanism is used to ensure that the FPE_... value
* that is passed as a trapcode to the signal handler of the user
* process does not have more than one bit set.
- *
+ *
* Multiple bits may be set if the user process modifies the control
* word while a status word bit is already set. While this is a sign
- * of bad coding, we have no choise than to narrow them down to one
+ * of bad coding, we have no choice than to narrow them down to one
* bit, since we must not send a trapcode that is not exactly one of
* the FPE_ macros.
*