changed __bad_assertion(), it now uses fputs()
This commit is contained in:
parent
84b8c8a6ca
commit
644cfbf61f
1 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue