[COMMITTED] manual: Fix invalid 'illegal' usage with 'nanosleep'
Maciej W. Rozycki
macro@redhat.com
Fri May 30 14:04:36 GMT 2025
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
glibc-doc-nanosleep-invalid.diff
Index: glibc/manual/time.texi
===================================================================
--- glibc.orig/manual/time.texi
+++ glibc/manual/time.texi
@@ -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
More information about the Libc-alpha
mailing list