summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-06-08 20:57:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-06-08 20:57:20 +0000
commit2c57a9726dcd1d56791188ab7cac0a45ef2dbeae (patch)
tree0038efe5b66eecfc3617bc5bfe0b109acadc2495 /sys/arch/mvme88k
parenta587c12e336de345a9c788100500c94b6fa7c0f4 (diff)
Make sure to cnpollc(1)/cnpollc(0) around cngetc() or getsn() calls.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/mvme88k/machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c
index f990f53ca14..df704d54c2d 100644
--- a/sys/arch/mvme88k/mvme88k/machdep.c
+++ b/sys/arch/mvme88k/mvme88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.211 2008/04/09 16:58:10 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.212 2008/06/08 20:57:19 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -506,7 +506,9 @@ haltsys:
if (howto & RB_HALT) {
printf("System halted. Press any key to reboot...\n\n");
+ cnpollc(1);
cngetc();
+ cnpollc(0);
}
doboot();