changed __bad_assertion(), it now uses fputs()
This commit is contained in:
parent
64f406d532
commit
263dbbaea9
@ -7,9 +7,8 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
void __bad_assertion(const char *expr, const char *file, int line) {
|
void __bad_assertion(const char *mess) {
|
||||||
|
|
||||||
fprintf(stderr,"Assertion \"%s\" failed, file \"%s\", line %d\n",
|
fputs(mess, stderr);
|
||||||
expr, file, line);
|
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user