From 85ceedd60f04fcf545101237cbc958eaf8727fba Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 23 Aug 2001 01:50:31 +0000 Subject: [PATCH] Fix a #endif misplacement in 1.231 due to misapplied patch Pointy hat to: peter --- sys/pc98/i386/machdep.c | 2 +- sys/pc98/pc98/machdep.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 940e034e914..09151fab05a 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -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; diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 940e034e914..09151fab05a 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -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;