diff options
Diffstat (limited to 'sys/i386/linux/linux_sysvec.c')
-rw-r--r-- | sys/i386/linux/linux_sysvec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index 29b0713..b476b48 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -523,7 +523,7 @@ linux_sigreturn(struct thread *td, struct linux_sigreturn_args *args) * It is unsafe to keep track of it ourselves, in the event that a * program jumps out of a signal handler. */ - if (copyin((caddr_t)args->sfp, &frame, sizeof(frame)) != 0) + if (copyin(args->sfp, &frame, sizeof(frame)) != 0) return (EFAULT); /* @@ -619,7 +619,7 @@ linux_rt_sigreturn(struct thread *td, struct linux_rt_sigreturn_args *args) * It is unsafe to keep track of it ourselves, in the event that a * program jumps out of a signal handler. */ - if (copyin((caddr_t)args->ucp, &uc, sizeof(uc)) != 0) + if (copyin(args->ucp, &uc, sizeof(uc)) != 0) return (EFAULT); context = &uc.uc_mcontext; |