projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
293f10e
)
net: inet_strfamily(): Better unknown family report
author
Luiz Capitulino
<lcapitulino@redhat.com>
Wed, 20 Jan 2010 13:42:39 +0000
(11:42 -0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Wed, 20 Jan 2010 14:25:23 +0000
(08:25 -0600)
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>
qemu-sockets.c
patch
|
blob
|
history
diff --git
a/qemu-sockets.c
b/qemu-sockets.c
index 720de22cf58930c67955dbd6eef6a65b9c9fb07e..d912fed16bc5e7e13354a45000d60644da8f603e 100644
(file)
--- 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)