fix wrong messages in gai_strerror
authorRich Felker <dalias@aerifal.cx>
Mon, 1 Aug 2011 04:31:15 +0000 (00:31 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 1 Aug 2011 04:31:15 +0000 (00:31 -0400)
i had missed the fact that a couple values were unassigned...

src/network/gai_strerror.c

index ea00bed7aec6a031df1facc233c06ab9bf5a7bc1..0bf3e37978412019b2ca57d4e76fa23efec9781c 100644 (file)
@@ -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"