Index: vl.c =================================================================== RCS file: /sources/qemu/qemu/vl.c,v retrieving revision 1.282 diff --unified -p -r1.282 vl.c --- vl.c 18 Apr 2007 18:11:47 -0000 1.282 +++ vl.c 19 Apr 2007 11:02:30 -0000 @@ -3920,7 +3920,7 @@ static NetSocketState *net_socket_fd_ini 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) {