changed __bad_assertion(), it now uses fputs()
This commit is contained in:
parent
84b8c8a6ca
commit
644cfbf61f
@ -7,9 +7,8 @@
|
||||
#include <stdio.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",
|
||||
expr, file, line);
|
||||
fputs(mess, stderr);
|
||||
abort();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user