Home | History | Annotate | Line # | Download | only in bootxx
panic_putstr.c revision 1.1
      1 /*	$NetBSD: panic_putstr.c,v 1.1 2002/05/15 04:07:42 lukem 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();
     18 }
     19