Revision 00aa0040 linux-user/syscall.c

b/linux-user/syscall.c
2004 2004
        ret = get_errno(recvfrom(fd, host_msg, len, flags, addr, &addrlen));
2005 2005
    } else {
2006 2006
        addr = NULL; /* To keep compiler quiet.  */
2007
        ret = get_errno(recv(fd, host_msg, len, flags));
2007
        ret = get_errno(qemu_recv(fd, host_msg, len, flags));
2008 2008
    }
2009 2009
    if (!is_error(ret)) {
2010 2010
        if (target_addr) {

Also available in: Unified diff