summaryrefslogtreecommitdiff
path: root/sys/arch/sun68k/stand/libsa/panic.c
blob: 0a8a3bcef78834426be66a05196e5f2febfcc9a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*	$NetBSD: panic.c,v 1.4 2011/07/17 20:54:48 joerg Exp $	*/


#include <stand.h>
#include "libsa.h"

__dead void
panic(const char *fmt, ...)
{
	va_list ap;

	va_start(ap, fmt);
	vprintf(fmt, ap);
	putchar('\n');
	va_end(ap);
	breakpoint();
	exit(0);
}