mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-12 15:39:27 -04:00
18 lines
230 B
C
18 lines
230 B
C
/* $NetBSD: panic_putstr.c,v 1.3 2011/07/17 20:54:48 joerg Exp $ */
|
|
|
|
|
|
#include <stand.h>
|
|
#include "libsa.h"
|
|
|
|
__dead void
|
|
panic(const char *fmt, ...)
|
|
{
|
|
|
|
putstr("panic: ");
|
|
putstr(fmt);
|
|
putchar('\n');
|
|
|
|
breakpoint();
|
|
exit(0);
|
|
}
|