blob: 906e6617c6962fdbd43e90778ab572a9de580a33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <stdarg.h>
#include <stdlib.h>
#include "errors.h"
void
err(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
vwarn(fmt, ap);
va_end(ap);
exit(EXIT_FAILURE);
}
|