From 3863008c22375d9cc1ecfab2a816c49c8787b83f Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Wed, 16 Jun 2021 09:49:01 -0700 Subject: [PATCH] freedreno/ir3: Move the assert output to mesa_loge(). Part-of: --- src/freedreno/ir3/disasm-a3xx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedreno/ir3/disasm-a3xx.c b/src/freedreno/ir3/disasm-a3xx.c index 3f2678376ee..f0b9731fee1 100644 --- a/src/freedreno/ir3/disasm-a3xx.c +++ b/src/freedreno/ir3/disasm-a3xx.c @@ -29,6 +29,7 @@ #include #include +#include #include "isa/isa.h" @@ -551,7 +552,7 @@ void ir3_assert_handler(const char *expr, const char *file, int line, const char *func) { - fprintf(stdout, "\n%s:%u: %s: Assertion `%s' failed.\n", file, line, func, expr); + mesa_loge("%s:%u: %s: Assertion `%s' failed.", file, line, func, expr); if (jmp_env_valid) longjmp(jmp_env, 1); abort();