summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-08-23 01:50:31 +0000
committerpeter <peter@FreeBSD.org>2001-08-23 01:50:31 +0000
commite702307f455571ffa47014a7fa1537e1f0ed3790 (patch)
tree1c82ff903f4772e06e0193230aeefc3a8c6fc9a0
parentfdba1bd8ed7987687e5eadff5221629a5888814d (diff)
downloadFreeBSD-src-e702307f455571ffa47014a7fa1537e1f0ed3790.zip
FreeBSD-src-e702307f455571ffa47014a7fa1537e1f0ed3790.tar.gz
Fix a #endif misplacement in 1.231 due to misapplied patch
Pointy hat to: peter
-rw-r--r--sys/pc98/i386/machdep.c2
-rw-r--r--sys/pc98/pc98/machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 940e034..09151fa 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 940e034..09151fa 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;
OpenPOWER on IntegriCloud