Strip trailing '\n' from error_report()'s first argument
commit6daf194dde15acda153b824299f36f12dfa527a6
authorMarkus Armbruster <armbru@redhat.com>
Wed, 22 Jun 2011 12:03:54 +0000 (22 14:03 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 24 Jun 2011 08:13:36 +0000 (24 09:13 +0100)
treee501eb043697f6ec77338ef8fe4cb5602177fdb0
parentdb78ef5b0a93b16ad56b70a70e21b1c5e7d06ba8
Strip trailing '\n' from error_report()'s first argument

error_report() prepends location, and appends a newline.  The message
constructed from the arguments should not contain a newline.  Fix the
obvious offenders.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
16 files changed:
block-migration.c
block/qcow2.c
block/sheepdog.c
hw/milkymist-minimac2.c
hw/milkymist-pfpu.c
hw/milkymist-softusb.c
hw/milkymist-tmu2.c
hw/qdev.c
hw/strongarm.c
hw/usb-ccid.c
hw/virtio-serial-bus.c
hw/virtio.c
net.c
net/socket.c
qemu-error.c
qemu-img.c