[Mesa-dev] [PATCH 11/22] intel/tools/disasm: correctly observe FILE *out parameter

kevin.rogovin at intel.com kevin.rogovin at intel.com
Mon Sep 25 10:34:11 UTC 2017


From: Kevin Rogovin <kevin.rogovin at intel.com>

Signed-off-by: Kevin Rogovin <kevin.rogovin at intel.com>
---
 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 361885b..251acd3 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.7.4



More information about the mesa-dev mailing list