now when halting, use printf()/cngetc() rather than pg().

This commit is contained in:
cgd 1993-05-13 08:08:49 +00:00
parent 37b890c63c
commit 194cda833c

View File

@ -44,7 +44,7 @@
* 15 Aug 92 William Jolitz Large memory bug
* 15 Aug 92 Terry Lambert Fixed CMOS RAM size bug
*/
static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/i386/machdep.c,v 1.8 1993/05/09 23:02:38 deraadt Exp $";
static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/i386/machdep.c,v 1.9 1993/05/13 08:08:49 cgd Exp $";
#include "param.h"
#include "systm.h"
@ -492,7 +492,8 @@ boot(arghowto)
splhigh();
devtype = major(rootdev);
if (howto&RB_HALT) {
pg("\nThe operating system has halted. Please press any key to reboot.\n\n");
printf("\nThe operating system has halted. Please press any key to reboot.\n\n");
cngetc();
} else {
if (howto & RB_DUMP) {
savectx(&dumppcb, 0);