Message ID | 20220603172338.752695-1-hjl.tools@gmail.com |
---|---|
State | New |
Headers | show |
Series | string.h: Fix boolean spelling in comments | expand |
On Fri, Jun 3, 2022 at 10:23 AM H.J. Lu <hjl.tools@gmail.com> wrote: > > --- > string/string.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/string/string.h b/string/string.h > index d494a1d5f9..54dd8344de 100644 > --- a/string/string.h > +++ b/string/string.h > @@ -73,7 +73,7 @@ extern int memcmp (const void *__s1, const void *__s2, size_t __n) > or bcmp are correct implementations. > > __memcmpeq is meant to be used by compilers when memcmp return is > - only used for its bolean value. > + only used for its boolean value. > > __memcmpeq is declared only for use by compilers. Programs should > continue to use memcmp. */ > -- > 2.36.1 > I checked it in.
diff --git a/string/string.h b/string/string.h index d494a1d5f9..54dd8344de 100644 --- a/string/string.h +++ b/string/string.h @@ -73,7 +73,7 @@ extern int memcmp (const void *__s1, const void *__s2, size_t __n) or bcmp are correct implementations. __memcmpeq is meant to be used by compilers when memcmp return is - only used for its bolean value. + only used for its boolean value. __memcmpeq is declared only for use by compilers. Programs should continue to use memcmp. */