shithub: riscv

ref: e95f557ba57b7102693b169bbe3f93661de8bec7
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");
}