summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/stand/libsa/panic.c
blob: b8841ad1ad36794984f257f29a8cfdff5d38629a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

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

extern __dead void abort();

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

	va_start(ap, fmt);
	vprintf(fmt, ap);
	printf("\n");
	va_end(ap);
	abort();
}