summaryrefslogtreecommitdiff
path: root/libgcompat/internal.c
blob: 441b3cc2f3c55613ccadab5677e39906ead5c4d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>


void GCOMPAT__panic(const char *fmt, ...)
{
	va_list va;

	fprintf(stderr, "*** gcompat panic ***\n");

	va_start(va, fmt);
	vfprintf(stderr, fmt, va);
	va_end(va);

	abort();
}