summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/common/panic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/common/panic.c b/sys/boot/common/panic.c
index bad1e45..dfebd97 100644
--- a/sys/boot/common/panic.c
+++ b/sys/boot/common/panic.c
@@ -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);
}
OpenPOWER on IntegriCloud