summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-01-25 00:17:22 +0000
committerbde <bde@FreeBSD.org>1996-01-25 00:17:22 +0000
commitbdbbbadb36681bbcef9b5a0d92802ffdd161ddf4 (patch)
tree67817c95bb6311fc2cea9b3f25ff5d42e4b6b5d3 /sys/kern/subr_prf.c
parent7c3532d5838fe35408132bf3021fd643c1dbd1bc (diff)
downloadFreeBSD-src-bdbbbadb36681bbcef9b5a0d92802ffdd161ddf4.zip
FreeBSD-src-bdbbbadb36681bbcef9b5a0d92802ffdd161ddf4.tar.gz
Restored newline at the end of panic messages.
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r--sys/kern/subr_prf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index fdfbd99..d02a707 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)subr_prf.c 8.3 (Berkeley) 1/21/94
- * $Id: subr_prf.c,v 1.26 1996/01/22 13:21:33 phk Exp $
+ * $Id: subr_prf.c,v 1.27 1996/01/24 20:56:20 phk Exp $
*/
#include "opt_ddb.h"
@@ -106,10 +106,11 @@ panic(const char *fmt, ...)
else
panicstr = fmt;
- va_start(ap, fmt);
printf("panic: ");
+ va_start(ap, fmt);
vprintf(fmt, ap);
va_end(ap);
+ printf("\n");
#ifdef KGDB
kgdb_panic();
OpenPOWER on IntegriCloud