Re: [Qemu-devel] [PATCH v2 3/5] Convert single line fprintf() to warn_report()

2017-08-14 Thread Markus Armbruster
Alistair Francis writes: > Convert all the single line uses of fprintf(stderr, "warning:"..."\n"... > to use warn_report() instead. This helps standardise on a single > method of printing warnings to the user. > > All of the warnings were changed using this command: > find ./* -type f -exec sed

[Qemu-devel] [PATCH v2 3/5] Convert single line fprintf() to warn_report()

2017-07-28 Thread Alistair Francis
Convert all the single line uses of fprintf(stderr, "warning:"..."\n"... to use warn_report() instead. This helps standardise on a single method of printing warnings to the user. All of the warnings were changed using this command: find ./* -type f -exec sed -i \ 's|fprintf(.*".*warning[,:]