shithub: riscv

ref: a2be120ea93ae67447315da268fa336650cd5149
dir: /sys/src/liboventi/fatal.c/

View raw version
#include <u.h>
#include <libc.h>
#include <oventi.h>

void
vtFatal(char *fmt, ...)
{
	va_list arg;

	va_start(arg, fmt);
	fprint(2, "fatal error: ");
	vfprint(2, fmt, arg);
	fprint(2, "\n");
	va_end(arg);
	exits("vtFatal");
}