Date: Fri, 10 Jun 2022 12:46:00 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 75ec9a1bb5e6 - stable/12 - fpu: Fix a typo in a source code comment Message-ID: <202206101246.25ACk0AU038316@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=75ec9a1bb5e64c84d68e68620dcd933d9afb02f9 commit 75ec9a1bb5e64c84d68e68620dcd933d9afb02f9 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:40:04 +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 91df1259be46..2573e69e4a3b 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 abf3ab5bd6df..0d978421c56e 100644 --- a/sys/i386/i386/npx.c +++ b/sys/i386/i386/npx.c @@ -598,14 +598,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. *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206101246.25ACk0AU038316>