summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2011-07-07 18:16:13 +0530
committerAmit Shah <amit.shah@redhat.com>2011-07-18 15:30:15 +0530
commit95c9cde2dff9de9f4afa0450697bd70f56715be1 (patch)
tree9c00f7b3166ba53c24e55649670192cdda845229
parentd02e4fa4a8e180c0a312b7c520a167894a0c8a83 (diff)
downloadhqemu-95c9cde2dff9de9f4afa0450697bd70f56715be1.zip
hqemu-95c9cde2dff9de9f4afa0450697bd70f56715be1.tar.gz
virtio-serial-bus: Fix trailing \n in error_report string
Markus fixed offenders in the file but one instance sneaked in via another patch. Fix it. Signed-off-by: Amit Shah <amit.shah@redhat.com>
-rw-r--r--hw/virtio-serial-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-serial-bus.c b/hw/virtio-serial-bus.c
index 9859f9f..6d73386 100644
--- a/hw/virtio-serial-bus.c
+++ b/hw/virtio-serial-bus.c
@@ -351,7 +351,7 @@ static void handle_control_message(VirtIOSerial *vser, void *buf, size_t len)
port = find_port_by_id(vser, ldl_p(&gcpkt->id));
if (!port) {
- error_report("virtio-serial-bus: Unexpected port id %u for device %s\n",
+ error_report("virtio-serial-bus: Unexpected port id %u for device %s",
ldl_p(&gcpkt->id), vser->bus.qbus.name);
return;
}
OpenPOWER on IntegriCloud