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>
This commit is contained in:
parent
75d10e4c84
commit
e640b3fe13
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue