summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/panic.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-09-26 01:29:13 +0000
committermsmith <msmith@FreeBSD.org>1998-09-26 01:29:13 +0000
commit7e33170a26eb4e00de1118e6ad023f344f2eda57 (patch)
tree88e60ab6cafa9863d327fce7019ff2b61bd94edd /sys/boot/common/panic.c
parent813a76e7c2c3faee577231049fa983dc48c7de53 (diff)
downloadFreeBSD-src-7e33170a26eb4e00de1118e6ad023f344f2eda57.zip
FreeBSD-src-7e33170a26eb4e00de1118e6ad023f344f2eda57.tar.gz
console.c
Allow the MI code to override the preferred console (eg. so that an RB_SERIAL flag from the i386 boot2 can override the default first active console) isapnp.c Use the standard format for ISA PnP IDs. pnp.c Allow trailing comments on lines, be less picky about line contents. ls.c Cosmetic error message fix. panic.c Print the right arguments.
Diffstat (limited to 'sys/boot/common/panic.c')
-rw-r--r--sys/boot/common/panic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/common/panic.c b/sys/boot/common/panic.c
index b531596..bee6a03 100644
--- a/sys/boot/common/panic.c
+++ b/sys/boot/common/panic.c
@@ -1,5 +1,5 @@
/*
- * $Id: panic.c,v 1.2 1998/09/17 23:52:02 msmith Exp $
+ * $Id: panic.c,v 1.3 1998/09/18 02:01:38 msmith Exp $
* From: $NetBSD: panic.c,v 1.2 1997/03/22 01:48:36 thorpej Exp $
*/
@@ -46,9 +46,9 @@ panic(const char *fmt,...)
printf("panic: ");
va_start(ap, fmt);
- printf(fmt, ap);
- printf("\n");
+ vprintf(fmt, ap);
va_end(ap);
+ printf("\n");
exit(1);
}
OpenPOWER on IntegriCloud