about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-08-01 00:31:15 -0400
committerRich Felker <dalias@aerifal.cx>2011-08-01 00:31:15 -0400
commit88798393cab009ce78fe498051072db71ba9d035 (patch)
tree036ec047b6ab3ba62a59801786141e217fdfbeed
parentf4e8e64b82a85158d9de884e1765474c0c317d19 (diff)
downloadmusl-88798393cab009ce78fe498051072db71ba9d035.tar.gz
musl-88798393cab009ce78fe498051072db71ba9d035.tar.xz
musl-88798393cab009ce78fe498051072db71ba9d035.zip
fix wrong messages in gai_strerror
i had missed the fact that a couple values were unassigned...
-rw-r--r--src/network/gai_strerror.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/gai_strerror.c b/src/network/gai_strerror.c
index ea00bed7..0bf3e379 100644
--- a/src/network/gai_strerror.c
+++ b/src/network/gai_strerror.c
@@ -5,9 +5,11 @@ static const char msgs[] =
 	"Name does not resolve\0"
 	"Try again\0"
 	"Non-recoverable error\0"
+	"Unknown error\0"
 	"Unrecognized address family or invalid length\0"
 	"Unrecognized socket type\0"
 	"Unrecognized service\0"
+	"Unknown error\0"
 	"Out of memory\0"
 	"System error\0"
 	"Overflow\0"