mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
Fix structure type in sigtimedwait syscall.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4630 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
932a690969
commit
e1e3f30b02
1 changed files with 2 additions and 2 deletions
|
@ -3920,10 +3920,10 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
||||||
}
|
}
|
||||||
ret = get_errno(sigtimedwait(&set, &uinfo, puts));
|
ret = get_errno(sigtimedwait(&set, &uinfo, puts));
|
||||||
if (!is_error(ret) && arg2) {
|
if (!is_error(ret) && arg2) {
|
||||||
if (!(p = lock_user(VERIFY_WRITE, arg2, sizeof(target_sigset_t), 0)))
|
if (!(p = lock_user(VERIFY_WRITE, arg2, sizeof(target_siginfo_t), 0)))
|
||||||
goto efault;
|
goto efault;
|
||||||
host_to_target_siginfo(p, &uinfo);
|
host_to_target_siginfo(p, &uinfo);
|
||||||
unlock_user(p, arg2, sizeof(target_sigset_t));
|
unlock_user(p, arg2, sizeof(target_siginfo_t));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue