diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-01-20 11:42:39 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-20 08:25:23 -0600 |
commit | c445321e66facc440d7de64f39fa33cb0cc330b2 (patch) | |
tree | c1c383ce1452265806b9991d83ab6ba1ab5aa2e4 | |
parent | c9c4b34ed55e1452de9051d22c0d591f1745d4ea (diff) | |
download | qemu-c445321e66facc440d7de64f39fa33cb0cc330b2.zip qemu-c445321e66facc440d7de64f39fa33cb0cc330b2.tar.gz qemu-c445321e66facc440d7de64f39fa33cb0cc330b2.tar.bz2 |
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>
-rw-r--r-- | qemu-sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |