shithub: riscv

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