diff options
author | kato <kato@FreeBSD.org> | 1997-05-08 09:22:32 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1997-05-08 09:22:32 +0000 |
commit | da4247616ea75e1868d1ef44899efe44000a105e (patch) | |
tree | 7b203f8ebbf196dc327df0a2a524757cb673f8d6 /sys | |
parent | f48b777c6a4677f76edde9b7fbe8a7cf0a3ca7d7 (diff) | |
download | FreeBSD-src-da4247616ea75e1868d1ef44899efe44000a105e.zip FreeBSD-src-da4247616ea75e1868d1ef44899efe44000a105e.tar.gz |
Synchronize with sys/i386/isa/syscons.c revision 1.215.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/pc98/syscons.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c index 752d6ee..3b6ebf7 100644 --- a/sys/pc98/pc98/syscons.c +++ b/sys/pc98/pc98/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.37 1997/05/01 11:28:49 kato Exp $ + * $Id: syscons.c,v 1.38 1997/05/07 14:17:38 kato Exp $ */ #include "sc.h" @@ -851,7 +851,6 @@ scioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) int error; u_int i; struct tty *tp; - struct trapframe *fp; scr_stat *scp; tp = scdevtotty(dev); @@ -1342,13 +1341,11 @@ scioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) return error; if (securelevel > 0) return EPERM; - fp = (struct trapframe *)p->p_md.md_regs; - fp->tf_eflags |= PSL_IOPL; + p->p_md.md_regs->tf_eflags |= PSL_IOPL; return 0; case KDDISABIO: /* disallow io operations (default) */ - fp = (struct trapframe *)p->p_md.md_regs; - fp->tf_eflags &= ~PSL_IOPL; + p->p_md.md_regs->tf_eflags &= ~PSL_IOPL; return 0; case KDSETMODE: /* set current mode of this (virtual) console */ |