summaryrefslogtreecommitdiff
path: root/sys/arch/kbus/stand/netboot/panic.c
blob: 3d7a2cbf58b64864b638b590b15a20bf76dd84c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#include <stdarg.h>
#include "stand.h"

__dead void
panic(const char *fmt, ...)
{
    va_list ap;

    va_start(ap, fmt);
    printf(fmt, ap);
    printf("\n");
    va_end(ap);
    _exit ();
}