avoid malloc of deps arrays for ldso and vdso
[musl.git] / src / exit / assert.c
blob49b0dc3ec434c68a92ad3c38f087aec74c45e4e3
1 #include <stdio.h>
2 #include <stdlib.h>
4 _Noreturn void __assert_fail(const char *expr, const char *file, int line, const char *func)
6 fprintf(stderr, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line);
7 fflush(NULL);
8 abort();