NetBSD/sys/arch/sun3/stand/libsa/panic.c

18 lines
223 B
C
Raw Normal View History

1995-02-15 01:56:36 +03:00
#include <stdarg.h>
#include "stand.h"
extern volatile void abort();
volatile void
panic(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
printf(fmt, ap);
printf("\n");
va_end(ap);
abort();
}