pan/decode: Fix missing newlines in error messages

Otherwise these error message lines end up truncated, which is a bit
annoying.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reported-by: Icecream95 <ixn@disroot.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14575>
This commit is contained in:
Alyssa Rosenzweig 2022-01-15 10:06:37 -05:00 committed by Marge Bot
parent 2bdfa4800d
commit c85df67f27

View file

@ -125,7 +125,7 @@ static void
pandecode_validate_buffer(mali_ptr addr, size_t sz)
{
if (!addr) {
pandecode_msg("XXX: null pointer deref");
pandecode_msg("XXX: null pointer deref\n");
return;
}
@ -1424,7 +1424,7 @@ GENX(pandecode_abort_on_fault)(mali_ptr jc_gpu_va)
/* Ensure the job is marked COMPLETE */
if (h.exception_status != 0x1) {
fprintf(stderr, "Incomplete job or timeout");
fprintf(stderr, "Incomplete job or timeout\n");
abort();
}
} while ((jc_gpu_va = next_job));