net: inet_strfamily(): Better unknown family report

Returning "????" is a bit meaningless, let's call it "unknown".

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Luiz Capitulino 2010-01-20 11:42:39 -02:00 committed by Anthony Liguori
parent c9c4b34ed5
commit c445321e66

View file

@ -98,7 +98,7 @@ const char *inet_strfamily(int family)
case PF_INET: return "ipv4";
case PF_UNIX: return "unix";
}
return "????";
return "unknown";
}
static void inet_print_addrinfo(const char *tag, struct addrinfo *res)