Module Name:    src
Committed By:   jandberg
Date:           Sun Feb 24 19:24:21 UTC 2019

Modified Files:
        src/sys/arch/amiga/amiga: machdep.c

Log Message:
cnpollc needs to be called before cngetc


To generate a diff of this commit:
cvs rdiff -u -r1.250 -r1.251 src/sys/arch/amiga/amiga/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amiga/amiga/machdep.c
diff -u src/sys/arch/amiga/amiga/machdep.c:1.250 src/sys/arch/amiga/amiga/machdep.c:1.251
--- src/sys/arch/amiga/amiga/machdep.c:1.250	Wed Dec  5 09:34:46 2018
+++ src/sys/arch/amiga/amiga/machdep.c	Sun Feb 24 19:24:20 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.250 2018/12/05 09:34:46 mlelstv Exp $	*/
+/*	$NetBSD: machdep.c,v 1.251 2019/02/24 19:24:20 jandberg Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -50,7 +50,7 @@
 #include "empm.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.250 2018/12/05 09:34:46 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.251 2019/02/24 19:24:20 jandberg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -440,7 +440,9 @@ cpu_reboot(register int howto, char *boo
 		printf("\n");
 		printf("The operating system has halted.\n");
 		printf("Please press any key to reboot.\n\n");
+		cnpollc(1);
 		cngetc();
+		cnpollc(0);
 	}
 
 	printf("rebooting...\n");

Reply via email to