blob: 0c464506a2959ac3d688ab9e14de844f0cfea441 (
plain)
1
2
3
4
5
6
7
8
|
#include <assert.h>
#include <camellia/syscalls.h>
#include <stdio.h>
_Noreturn void __badassert(const char *func, const char *file, int line) {
fprintf(stderr, "assertion failure %s:%s:%u\n", file, func, line);
_sys_exit(1);
}
|