xref: /netbsd-src/sys/arch/sun68k/stand/libsa/panic.c (revision 9fbd88883c38d0c0fbfcbe66d76fe6b0fab3f9de)
1 /*	$NetBSD: panic.c,v 1.1 2001/06/14 12:57:15 fredette Exp $	*/
2 
3 
4 #include <machine/stdarg.h>
5 #include <stand.h>
6 #include "libsa.h"
7 
8 __dead void
9 panic(const char *fmt, ...)
10 {
11 	va_list ap;
12 
13 	va_start(ap, fmt);
14 	vprintf(fmt, ap);
15 	printf("\n");
16 	va_end(ap);
17 	breakpoint();
18 	exit();
19 }
20