chiark / gitweb /
[PATCH] sync with latest version of klibc (0.107)
[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 }