From: Alyssa Rosenzweig Date: Mon, 3 Feb 2020 20:12:24 +0000 (-0500) Subject: pan/midgard: Fix missing prefixes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbe1fd3de0aa7c618286ee79082f7bbcd7b8e171;p=mesa.git pan/midgard: Fix missing prefixes I was wondering where those were going... :) Signed-off-by: Alyssa Rosenzweig Fixes: c1952779d68 ("pan/decode: Dump to a file") Part-of: --- diff --git a/src/panfrost/midgard/disassemble.c b/src/panfrost/midgard/disassemble.c index a0640d66e8c..8f116aa5a45 100644 --- a/src/panfrost/midgard/disassemble.c +++ b/src/panfrost/midgard/disassemble.c @@ -157,7 +157,7 @@ print_reg(FILE *fp, unsigned reg, unsigned bits) char prefix = prefix_for_bits(bits); if (prefix) - putchar(prefix); + fputc(prefix, fp); fprintf(fp, "r%u", reg); }