Commit e1e3f30b029aca17ea6c7c6d99e90a6ec3b07d01

Authored by pbrook
1 parent 932a6909

Fix structure type in sigtimedwait syscall.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4630 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
linux-user/syscall.c
... ... @@ -3920,10 +3920,10 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
3920 3920 }
3921 3921 ret = get_errno(sigtimedwait(&set, &uinfo, puts));
3922 3922 if (!is_error(ret) && arg2) {
3923   - if (!(p = lock_user(VERIFY_WRITE, arg2, sizeof(target_sigset_t), 0)))
  3923 + if (!(p = lock_user(VERIFY_WRITE, arg2, sizeof(target_siginfo_t), 0)))
3924 3924 goto efault;
3925 3925 host_to_target_siginfo(p, &uinfo);
3926   - unlock_user(p, arg2, sizeof(target_sigset_t));
  3926 + unlock_user(p, arg2, sizeof(target_siginfo_t));
3927 3927 }
3928 3928 }
3929 3929 break;
... ...