Waits for a keypress before rebooting on panic.

PR:		kern/32351
Submitted by:	Jonathan Mini <mini@haikugeek.com>
MFC after:	1 week
This commit is contained in:
dcs 2001-11-28 14:00:36 +00:00
parent df7d26d6b4
commit 35b8c147a0

View File

@ -50,5 +50,8 @@ panic(const char *fmt,...)
va_end(ap);
printf("\n");
printf("--> Press a key on the console to reboot <--\n");
getchar();
printf("Rebooting...\n");
exit(1);
}