From e640b3fe139d29d01d5dc89cfbd2c06756b1d8d8 Mon Sep 17 00:00:00 2001 From: Kevin Rogovin Date: Mon, 25 Sep 2017 13:34:11 +0300 Subject: [PATCH] intel/tools/disasm: correctly observe FILE *out parameter Signed-off-by: Kevin Rogovin Reviewed-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke --- src/intel/tools/disasm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/tools/disasm.c b/src/intel/tools/disasm.c index 361885b7989..251acd313dc 100644 --- a/src/intel/tools/disasm.c +++ b/src/intel/tools/disasm.c @@ -96,10 +96,10 @@ gen_disasm_disassemble(struct gen_disasm *disasm, void *assembly, int start_offset = annotation[i].offset; int end_offset = annotation[i + 1].offset; - brw_disassemble(devinfo, assembly, start_offset, end_offset, stdout); + brw_disassemble(devinfo, assembly, start_offset, end_offset, out); if (annotation[i].error) { - fputs(annotation[i].error, stdout); + fputs(annotation[i].error, out); } } -- 2.30.2