Fix a #endif misplacement in 1.231 due to misapplied patch

Pointy hat to: peter
This commit is contained in:
Peter Wemm 2001-08-23 01:50:31 +00:00
parent 66875a2aff
commit 85ceedd60f
2 changed files with 2 additions and 2 deletions

View file

@ -870,9 +870,9 @@ sigreturn(p, uap)
* being valid for the size of an osigcontext, now check for
* it being valid for a whole, new-style ucontext_t.
*/
#endif
if (!useracc((caddr_t)ucp, sizeof(*ucp), VM_PROT_READ))
return (EFAULT);
#endif
regs = p->p_frame;
eflags = ucp->uc_mcontext.mc_eflags;

View file

@ -870,9 +870,9 @@ sigreturn(p, uap)
* being valid for the size of an osigcontext, now check for
* it being valid for a whole, new-style ucontext_t.
*/
#endif
if (!useracc((caddr_t)ucp, sizeof(*ucp), VM_PROT_READ))
return (EFAULT);
#endif
regs = p->p_frame;
eflags = ucp->uc_mcontext.mc_eflags;