]> git.lizzy.rs Git - plan9front.git/blob - sys/src/liboventi/fatal.c
libsec: use tsmemcmp() when comparing hashes, use mpfield() for ecc, use mptober...
[plan9front.git] / sys / src / liboventi / fatal.c
1 #include <u.h>
2 #include <libc.h>
3 #include <oventi.h>
4
5 void
6 vtFatal(char *fmt, ...)
7 {
8         va_list arg;
9
10         va_start(arg, fmt);
11         fprint(2, "fatal error: ");
12         vfprint(2, fmt, arg);
13         fprint(2, "\n");
14         va_end(arg);
15         exits("vtFatal");
16 }