diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2000-07-27 01:22:24 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2000-07-27 01:22:24 +0000 |
| commit | 4c02bded00f544ce6adf4fff0ef83a69cfba0156 (patch) | |
| tree | 90693e0ecf7eaebf29ab44df87c463ec25f897f2 /sys/i386/linux/linux_sysvec.c | |
| parent | 491a165843c836fa40b3a73747cef0702f210c97 (diff) | |
Notes
Diffstat (limited to 'sys/i386/linux/linux_sysvec.c')
| -rw-r--r-- | sys/i386/linux/linux_sysvec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index 052885b8a715..c739f6937e99 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -323,7 +323,7 @@ linux_sigreturn(p, args) struct proc *p; struct linux_sigreturn_args *args; { - struct linux_sigcontext *scp, context; + struct linux_sigcontext context; register struct trapframe *regs; int eflags; @@ -338,8 +338,7 @@ linux_sigreturn(p, args) * It is unsafe to keep track of it ourselves, in the event that a * program jumps out of a signal handler. */ - scp = SCARG(args,scp); - if (copyin((caddr_t)scp, &context, sizeof(*scp)) != 0) + if (copyin((caddr_t)args->scp, &context, sizeof(context)) != 0) return (EFAULT); /* |
