Date: Sat, 4 Jun 2022 11:16:10 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: faff37be4622 - main - fpu: Fix a typo in a source code comment Message-ID: <202206041116.254BGAa6029265@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=faff37be462262c6ae958c93f0aa27118d4d62cf commit faff37be462262c6ae958c93f0aa27118d4d62cf Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-06-04 11:15:53 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-06-04 11:15:53 +0000 fpu: Fix a typo in a source code comment - s/choise/choice/ Obtained from: NetBSD MFC after: 3 days --- 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 dedb174dbe47..e9b058f175b0 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -502,14 +502,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 f18c75a4a576..2e3c21583d88 100644 --- a/sys/i386/i386/npx.c +++ b/sys/i386/i386/npx.c @@ -579,14 +579,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?202206041116.254BGAa6029265>