Home | History | Annotate | Line # | Download | only in bootxx
panic_putstr.c revision 1.1.2.1
      1 /*	$NetBSD: panic_putstr.c,v 1.1.2.1 2002/07/15 01:22:22 gehenna 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