4541c9f5c6
netboot program will work on Sun3/50 machines. Also fixes PR 1928.
18 lines
205 B
C
18 lines
205 B
C
|
|
#include <stdarg.h>
|
|
#include "stand.h"
|
|
|
|
extern __dead void abort();
|
|
|
|
__dead void
|
|
panic(const char *fmt, ...)
|
|
{
|
|
va_list ap;
|
|
|
|
va_start(ap, fmt);
|
|
vprintf(fmt, ap);
|
|
printf("\n");
|
|
va_end(ap);
|
|
abort();
|
|
}
|