From fbe1fd3de0aa7c618286ee79082f7bbcd7b8e171 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 3 Feb 2020 15:12:24 -0500 Subject: 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: --- src/panfrost/midgard/disassemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/panfrost') 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); } -- cgit v1.2.3