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

Lionel Landwerlin lionel.g.landwerlin at intel.com
Mon Sep 25 12:03:54 UTC 2017


Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 25/09/17 11:34, kevin.rogovin at intel.com wrote:
> 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);
>         }
>      }
>   




More information about the mesa-dev mailing list