Home | History | Annotate | Line # | Download | only in bootxx
panic_putstr.c revision 1.2
      1 /*	$NetBSD: panic_putstr.c,v 1.2 2002/06/03 00:18:26 fredette Exp $	*/
      2 
      3 
      4 #include <machine/stdarg.h>
      5 #include <stand.h>
      6 #include "libsa.h"
      7 
      8 __dead void
      9 panic(const char *fmt, ...)
     10 {
     11 
     12 	putstr("panic: ");
     13 	putstr(fmt);
     14 	putchar('\n');
     15 
     16 	breakpoint();
     17 	exit(0);
     18 }
     19