aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-07-20 12:33:19 +0000
committerBruce Evans <bde@FreeBSD.org>1997-07-20 12:33:19 +0000
commit288f6303ba6a96ca5ccbe7a2d89d5bd8b38a6805 (patch)
tree577e9ce709480a64fdf2e40a5bcc22b278d936a6
parente852f922ab80d1195014f1d265564cc81ef7f683 (diff)
Notes
-rw-r--r--sys/i386/isa/pcvt/pcvt_ext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_ext.c b/sys/i386/isa/pcvt/pcvt_ext.c
index be6a016d14976..da55be005b335 100644
--- a/sys/i386/isa/pcvt/pcvt_ext.c
+++ b/sys/i386/isa/pcvt/pcvt_ext.c
@@ -2685,7 +2685,7 @@ usl_vt_ioctl(Dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
{
#if PCVT_NETBSD > 9 || PCVT_FREEBSD >= 200
- struct trapframe *fp = (struct trapframe *)p->p_md.md_regs;
+ struct trapframe *fp = p->p_md.md_regs;
#elif PCVT_NETBSD || (PCVT_FREEBSD && PCVT_FREEBSD > 102)
struct trapframe *fp = (struct trapframe *)p->p_regs;
#else
@@ -2712,7 +2712,7 @@ usl_vt_ioctl(Dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
{
#if PCVT_NETBSD > 9 || PCVT_FREEBSD >= 200
- struct trapframe *fp = (struct trapframe *)p->p_md.md_regs;
+ struct trapframe *fp = p->p_md.md_regs;
fp->tf_eflags &= ~PSL_IOPL;
#elif PCVT_NETBSD || (PCVT_FREEBSD && PCVT_FREEBSD > 102)
struct trapframe *fp = (struct trapframe *)p->p_regs;