From: Luiz Capitulino Date: Wed, 20 Jan 2010 13:42:39 +0000 (-0200) Subject: net: inet_strfamily(): Better unknown family report X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~8979 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c445321e66facc440d7de64f39fa33cb0cc330b2;p=sdk%2Femulator%2Fqemu.git net: inet_strfamily(): Better unknown family report Returning "????" is a bit meaningless, let's call it "unknown". Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori --- diff --git a/qemu-sockets.c b/qemu-sockets.c index 720de22..d912fed 100644 --- a/qemu-sockets.c +++ b/qemu-sockets.c @@ -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)