mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix a #endif misplacement in 1.231 due to misapplied patch
Pointy hat to: peter
This commit is contained in:
parent
66875a2aff
commit
85ceedd60f
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue