chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6d3ff238c91dc2d44dd9b6e3a65eb304c3855e7c
[elogind.git]
/
klibc
/
klibc
/
assert.c
1
/*
2
* assert.c
3
*/
4
5
#include <stdlib.h>
6
#include <stdio.h>
7
#include <assert.h>
8
9
void __assert_fail(const char *expr, const char *file, unsigned int line)
10
{
11
printf("Assertion %s failed, file %s, line %u\n", expr, file, line);
12
abort();
13
}