NetBSD/sys/arch/sun68k/stand/bootxx/panic_putstr.c

19 lines
261 B
C

/* $NetBSD: panic_putstr.c,v 1.2 2002/06/03 00:18:26 fredette Exp $ */
#include <machine/stdarg.h>
#include <stand.h>
#include "libsa.h"
__dead void
panic(const char *fmt, ...)
{
putstr("panic: ");
putstr(fmt);
putchar('\n');
breakpoint();
exit(0);
}