diff options
author | Kevin Rogovin <kevin.rogovin@intel.com> | 2017-09-25 13:34:11 +0300 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2017-10-26 10:43:48 -0700 |
commit | e640b3fe139d29d01d5dc89cfbd2c06756b1d8d8 (patch) | |
tree | 9e11af85c256e8a9ae0cbd39f2eb661ac062585c | |
parent | 75d10e4c84c0666d4120389d116cb178afccec4d (diff) |
intel/tools/disasm: correctly observe FILE *out parameter
Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r-- | src/intel/tools/disasm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/tools/disasm.c b/src/intel/tools/disasm.c index 361885b798..251acd313d 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); } } |