Home | History | Annotate | Line # | Download | only in libsa
      1 /*	$NetBSD: panic.c,v 1.4 2011/07/17 20:54:48 joerg Exp $	*/
      2 
      3 
      4 #include <stand.h>
      5 #include "libsa.h"
      6 
      7 __dead void
      8 panic(const char *fmt, ...)
      9 {
     10 	va_list ap;
     11 
     12 	va_start(ap, fmt);
     13 	vprintf(fmt, ap);
     14 	putchar('\n');
     15 	va_end(ap);
     16 	breakpoint();
     17 	exit(0);
     18 }
     19