aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/assert_error.c
blob: 2d264917ac823a92b99bd7327655f03edd87287a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include <stdlib.h>

#include "assert_error.h"

__dead void
_assert_error(const char *file, const long int line)
{
	(void) fprintf(stderr, "Assertion failed: file %s, line %ld.\n",
	    file, line);
	abort();
}