Revision 30cb4cde

b/linux-user/syscall.c
6318 6318
                for(i = 0; i < nfds; i++) {
6319 6319
                    target_pfd[i].revents = tswap16(pfd[i].revents);
6320 6320
                }
6321
                ret += nfds * (sizeof(struct target_pollfd)
6322
                               - sizeof(struct pollfd));
6323 6321
            }
6324
            unlock_user(target_pfd, arg1, ret);
6322
            unlock_user(target_pfd, arg1, sizeof(struct target_pollfd) * nfds);
6325 6323
        }
6326 6324
        break;
6327 6325
#endif

Also available in: Unified diff