diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-30 21:53:38 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-30 21:53:38 +0000 |
commit | e1e3f30b029aca17ea6c7c6d99e90a6ec3b07d01 (patch) | |
tree | 484b41db07cff30daadaf28cc4e83a70a57da8c8 /linux-user | |
parent | 932a69096921c3091ef1ce2b93cc809eb6ec8027 (diff) |
Fix structure type in sigtimedwait syscall.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4630 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 0654f07a65..a8ea6c565a 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -3920,10 +3920,10 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, } ret = get_errno(sigtimedwait(&set, &uinfo, puts)); 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; host_to_target_siginfo(p, &uinfo); - unlock_user(p, arg2, sizeof(target_sigset_t)); + unlock_user(p, arg2, sizeof(target_siginfo_t)); } } break; |