about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDridi Boukelmoune <dridi.boukelmoune@gmail.com>2023-06-13 12:08:27 +0200
committerArjun Shankar <arjun@redhat.com>2023-06-13 20:54:49 +0200
commit658f601f2ae3230559f7e9c629053bd2890dcf82 (patch)
treefb3e915bfadcb1dceaf8bcf76dce04bcefaf6cd7
parenteaa5b1cce87d34c945955360b1e519c6994308a1 (diff)
downloadglibc-658f601f2ae3230559f7e9c629053bd2890dcf82.tar.gz
glibc-658f601f2ae3230559f7e9c629053bd2890dcf82.tar.xz
glibc-658f601f2ae3230559f7e9c629053bd2890dcf82.zip
posix: Handle success in gai_strerror()
Signed-off-by: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Reviewed-by: Arjun Shankar <arjun@redhat.com>
-rw-r--r--sysdeps/posix/gai_strerror-strs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/posix/gai_strerror-strs.h b/sysdeps/posix/gai_strerror-strs.h
index 667c4b2d4a..cb497ff5ea 100644
--- a/sysdeps/posix/gai_strerror-strs.h
+++ b/sysdeps/posix/gai_strerror-strs.h
@@ -1,3 +1,4 @@
+_S(0, N_("Success"))
 _S(EAI_ADDRFAMILY, N_("Address family for hostname not supported"))
 _S(EAI_AGAIN, N_("Temporary failure in name resolution"))
 _S(EAI_BADFLAGS, N_("Bad value for ai_flags"))