[openssh-commits] [openssh] branch master updated: openbsd-compat: reword EAI_NONAME error string

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Mar 28 19:25:56 AEDT 2026


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new 6eb5a68c4 openbsd-compat: reword EAI_NONAME error string
6eb5a68c4 is described below

commit 6eb5a68c42a587df802d3d9a19088671269ffca8
Author: Laurent Chardon <laurent.chardon at gmail.com>
AuthorDate: Sat Mar 28 04:22:54 2026 -0400

    openbsd-compat: reword EAI_NONAME error string
    
    Reword the EAI_NONAME message in fake-rfc2553.c to make it
    clearer and grammatically correct.
    
    While there, remove a couple of stray periods from other error
    strings to keep the messages consistent.
    
    No functional change.
---
 openbsd-compat/fake-rfc2553.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/openbsd-compat/fake-rfc2553.c b/openbsd-compat/fake-rfc2553.c
index d5a62975a..5eaa47992 100644
--- a/openbsd-compat/fake-rfc2553.c
+++ b/openbsd-compat/fake-rfc2553.c
@@ -94,13 +94,13 @@ gai_strerror(int err)
 	case EAI_NODATA:
 		return ("no address associated with name");
 	case EAI_MEMORY:
-		return ("memory allocation failure.");
+		return ("memory allocation failure");
 	case EAI_NONAME:
-		return ("nodename nor servname provided, or not known");
+		return ("name or service is not known");
 	case EAI_FAMILY:
 		return ("ai_family not supported");
 	default:
-		return ("unknown/invalid error.");
+		return ("unknown/invalid error");
 	}
 }
 #endif /* !HAVE_GAI_STRERROR */

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list