mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 19:33:39 +08:00
Fix typo, by Linus Nordberg.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2737 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
67cd24a897
commit
931f03ee60
2
vl.c
2
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user