From e1e3f30b029aca17ea6c7c6d99e90a6ec3b07d01 Mon Sep 17 00:00:00 2001 From: pbrook Date: Fri, 30 May 2008 21:53:38 +0000 Subject: Fix structure type in sigtimedwait syscall. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4630 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux-user') diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 0654f07..a8ea6c5 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; -- cgit v1.1