Commit 931f03ee authored by ths's avatar ths
Browse files

Fix typo, by Linus Nordberg.

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent 67cd24a8
...@@ -3922,7 +3922,7 @@ static NetSocketState *net_socket_fd_init(VLANState *vlan, int fd, ...@@ -3922,7 +3922,7 @@ static NetSocketState *net_socket_fd_init(VLANState *vlan, int fd,
int so_type=-1, optlen=sizeof(so_type); int so_type=-1, optlen=sizeof(so_type);
if(getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&so_type, &optlen)< 0) { 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; return NULL;
} }
switch(so_type) { switch(so_type) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment