Revision a05c6409 linux-user/syscall.c

b/linux-user/syscall.c
4918 4918

  
4919 4919
/* Map host to target signal numbers for the wait family of syscalls.
4920 4920
   Assume all other status bits are the same.  */
4921
static int host_to_target_waitstatus(int status)
4921
int host_to_target_waitstatus(int status)
4922 4922
{
4923 4923
    if (WIFSIGNALED(status)) {
4924 4924
        return host_to_target_signal(WTERMSIG(status)) | (status & ~0x7f);

Also available in: Unified diff