summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/panic.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-09-18 02:01:38 +0000
committermsmith <msmith@FreeBSD.org>1998-09-18 02:01:38 +0000
commitef33b3f0949d3bd0210b15d184b66f12ee8735bc (patch)
tree0ee43388fb41666176de96ed91f197354a0f6c1b /sys/boot/common/panic.c
parent757180a4cff5eb22b6469ea415ea7440a47bb533 (diff)
downloadFreeBSD-src-ef33b3f0949d3bd0210b15d184b66f12ee8735bc.zip
FreeBSD-src-ef33b3f0949d3bd0210b15d184b66f12ee8735bc.tar.gz
Remove 'panic' command (it works), don't ask for a keypress in panic, as
exit() does. Perhaps it shouldn't?
Diffstat (limited to 'sys/boot/common/panic.c')
-rw-r--r--sys/boot/common/panic.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/boot/common/panic.c b/sys/boot/common/panic.c
index 9639e06..b531596 100644
--- a/sys/boot/common/panic.c
+++ b/sys/boot/common/panic.c
@@ -1,5 +1,5 @@
/*
- * $Id: panic.c,v 1.1.1.1 1998/08/21 03:17:41 msmith Exp $
+ * $Id: panic.c,v 1.2 1998/09/17 23:52:02 msmith Exp $
* From: $NetBSD: panic.c,v 1.2 1997/03/22 01:48:36 thorpej Exp $
*/
@@ -49,8 +49,6 @@ panic(const char *fmt,...)
printf(fmt, ap);
printf("\n");
va_end(ap);
- printf("Press a key to reboot\n");
- getchar();
exit(1);
}
OpenPOWER on IntegriCloud