summaryrefslogtreecommitdiff
path: root/kerncompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kerncompat.h')
-rw-r--r--kerncompat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kerncompat.h b/kerncompat.h
index 3362d251..5a543c22 100644
--- a/kerncompat.h
+++ b/kerncompat.h
@@ -301,7 +301,9 @@ static inline void assert_trace(const char *assertion, const char *filename,
{
if (val)
return;
- warning_trace(assertion, filename, func, line, val);
+ fprintf(stderr,
+ "%s:%d: %s: Assertion `%s` failed, value %ld\n",
+ filename, line, func, assertion, val);
abort();
exit(1);
}