fpu: Fix a typo in a source code comment

- s/choise/choice/

Obtained from:	NetBSD
MFC after:	3 days
This commit is contained in:
Gordon Bergling 2022-06-04 13:15:53 +02:00
parent f77a88c855
commit faff37be46
2 changed files with 6 additions and 6 deletions

View File

@ -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.
*

View File

@ -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.
*