Thread (2 messages) 2 messages, 2 authors, 2021-08-26

[PATCH] getaddrinfo.3: wfix

From: Alejandro Colomar <hidden>
Date: 2021-08-25 15:52:54
Subsystem: the rest · Maintainer: Linus Torvalds

The previous wording wan't very explicit, leaving room for
believing that errno may be 0 after returning EAI_SYSTEM.

Use a wording similar to other pages, for added consistency.

Reported-by: Cristian Morales Vega <redacted>
Signed-off-by: Alejandro Colomar <redacted>
---
 man3/getaddrinfo.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
index 35071b733..1e13e3ef2 100644
--- a/man3/getaddrinfo.3
+++ b/man3/getaddrinfo.3
@@ -583,9 +583,9 @@ and
 respectively).
 .TP
 .B EAI_SYSTEM
-Other system error, check
+Other system error;
 .I errno
-for details.
+is set to indicate the error.
 .PP
 The
 .BR gai_strerror ()
-- 
2.33.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help