summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Rogovin <[email protected]>2017-09-25 13:34:11 +0300
committerKenneth Graunke <[email protected]>2017-10-26 10:43:48 -0700
commite640b3fe139d29d01d5dc89cfbd2c06756b1d8d8 (patch)
tree9e11af85c256e8a9ae0cbd39f2eb661ac062585c
parent75d10e4c84c0666d4120389d116cb178afccec4d (diff)
intel/tools/disasm: correctly observe FILE *out parameter
Signed-off-by: Kevin Rogovin <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/intel/tools/disasm.c4
1 files 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);
}
}