diff options
author | 1998-02-22 13:02:26 +0000 | |
---|---|---|
committer | 1998-02-22 13:02:26 +0000 | |
commit | b4d69f8c5eacfa3d90bbbaa60e97f3cee9248589 (patch) | |
tree | 912fc2da84960a76bb6368c13b8936cde9e7fbad | |
parent | Xr fcntl; pjanzen@foatdi.harvard.edu (diff) | |
download | wireguard-openbsd-b4d69f8c5eacfa3d90bbbaa60e97f3cee9248589.tar.xz wireguard-openbsd-b4d69f8c5eacfa3d90bbbaa60e97f3cee9248589.zip |
fix db_console chunk of code properly
-rw-r--r-- | sys/arch/i386/isa/pccons.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/pccons.c b/sys/arch/i386/isa/pccons.c index 9707c0a023d..5b9885c4744 100644 --- a/sys/arch/i386/isa/pccons.c +++ b/sys/arch/i386/isa/pccons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pccons.c,v 1.37 1998/02/05 16:48:30 deraadt Exp $ */ +/* $OpenBSD: pccons.c,v 1.39 1998/02/22 13:03:00 deraadt Exp $ */ /* $NetBSD: pccons.c,v 1.99.4.1 1996/06/04 20:03:53 cgd Exp $ */ /*- @@ -1681,7 +1681,7 @@ top: if (pc_xmode > 0) { #if defined(DDB) && defined(XSERVER_DDB) /* F12 enters the debugger while in X mode */ - if (dt == 88 && db_console) + if (dt == 88) if (db_console) Debugger(); #endif @@ -1744,7 +1744,7 @@ top: /* * Check for cntl-alt-esc. */ - if (db_console && dt == 1 && + if (dt == 1 && (shift_state & (KB_CTL | KB_ALT)) == (KB_CTL | KB_ALT)) { screen_restore(1); if (db_console) |