Re: [Qemu-devel] [PATCH v2] trace: Replace fprintf with error_report and print location

2014-06-04 Thread Stefan Hajnoczi
On Mon, Jun 02, 2014 at 04:34:10PM +1000, Alexey Kardashevskiy wrote: > This replaces fprintf(stderr) with error_report. > > This moves local variables to the beginning of the function to comply > with QEMU's coding style. > > Suggested-by: Lluís Vilanova > Signed-off-by: Alexey Kardashevskiy >

[Qemu-devel] [PATCH v2] trace: Replace fprintf with error_report and print location

2014-06-01 Thread Alexey Kardashevskiy
This replaces fprintf(stderr) with error_report. This moves local variables to the beginning of the function to comply with QEMU's coding style. Suggested-by: Lluís Vilanova Signed-off-by: Alexey Kardashevskiy --- Changes: v2: * polished commit log --- trace/control.c | 31 ++--