]> git.proxmox.com Git - mirror_qemu.git/commit
Convert remaining single line fprintf() to warn_report()
authorAlistair Francis <alistair.francis@xilinx.com>
Fri, 18 Aug 2017 18:47:35 +0000 (11:47 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Sep 2017 14:20:49 +0000 (16:20 +0200)
commit05cb8ed5467ff0f154f9356fa0cdcf7fca4b17f6
treef9fea54fedaf767ed92003481d6bb36e14da1495
parentebedb37c8d2aa477517158fd88e6ff0f6a60485d
Convert remaining single line fprintf() to warn_report()

Convert any remaining uses of fprintf(stderr, "warning:"...
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[,:] |warn_report("|Ig' {} +

The #include lines and chagnes to the test Makefile were manually
updated to allow the code to compile.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Message-Id: <2c94ac3bb116cc6b8ebbcd66a254920a69665515.1503077821.git.alistair.francis@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/Makefile.include
util/cutils.c