repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
avoid malloc of deps arrays for ldso and vdso
[musl.git]
/
src
/
exit
/
assert.c
blob
49b0dc3ec434c68a92ad3c38f087aec74c45e4e3
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
_Noreturn
void
__assert_fail
(
const char
*
expr
,
const char
*
file
,
int
line
,
const char
*
func
)
5
{
6
fprintf
(
stderr
,
"Assertion failed: %s (%s: %s: %d)
\n
"
,
expr
,
file
,
func
,
line
);
7
fflush
(
NULL
);
8
abort
();
9
}