]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: Fix invalid 'illegal' usage with 'nanosleep'
authorMaciej W. Rozycki <macro@redhat.com>
Fri, 30 May 2025 14:01:51 +0000 (15:01 +0100)
committerMaciej W. Rozycki <macro@redhat.com>
Fri, 30 May 2025 14:01:51 +0000 (15:01 +0100)
The GNU Coding Standards demand that 'illegal' only be used to refer to
activities prohibited by law.  Replace it with 'invalid' accordingly in
the description of the EINVAL error condition for 'nanosleep'.

manual/time.texi

index 7697b6ba487f45502a7c95499ee9650d6a6afd23..22ac5378c45bdfdee257aea4d626810a6e02791c 100644 (file)
@@ -3213,7 +3213,7 @@ elapsed time.
 
 @item EINVAL
 The nanosecond value in the @var{requested_time} parameter contains an
-illegal value.  Either the value is negative or greater than or equal to
+invalid value.  Either the value is negative or greater than or equal to
 1000 million.
 @end table