summaryrefslogtreecommitdiffstats
path: root/vl.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-28 20:49:36 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-28 20:49:36 +0000
commit931f03ee60ea341ee67ded1f0e269bc4c2420940 (patch)
tree65c4756f9173f187511a2a89e298c472a847cabd /vl.c
parent67cd24a89738ba03f5e8d9a4073c9a923d882bf6 (diff)
downloadhqemu-931f03ee60ea341ee67ded1f0e269bc4c2420940.zip
hqemu-931f03ee60ea341ee67ded1f0e269bc4c2420940.tar.gz
Fix typo, by Linus Nordberg.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2737 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index bf3aaca..3691f38 100644
--- a/vl.c
+++ b/vl.c
@@ -3922,7 +3922,7 @@ static NetSocketState *net_socket_fd_init(VLANState *vlan, int fd,
int so_type=-1, optlen=sizeof(so_type);
if(getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&so_type, &optlen)< 0) {
- fprintf(stderr, "qemu: error: setsockopt(SO_TYPE) for fd=%d failed\n", fd);
+ fprintf(stderr, "qemu: error: getsockopt(SO_TYPE) for fd=%d failed\n", fd);
return NULL;
}
switch(so_type) {
OpenPOWER on IntegriCloud