all repos — dwm @ 8a34fa50f75f4d6d8af234ac0c4f6d40b988d700

my dwm build

util.c

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/*
 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
 * See LICENSE file for license details.
 */

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>

void
error(char *errstr, ...) {
	va_list ap;
	va_start(ap, errstr);
	vfprintf(stderr, errstr, ap);
	va_end(ap);
	exit(1);
}