]> git.proxmox.com Git - qemu.git/commitdiff
virtio-serial-bus: Fix trailing \n in error_report string
authorAmit Shah <amit.shah@redhat.com>
Thu, 7 Jul 2011 12:46:13 +0000 (18:16 +0530)
committerAmit Shah <amit.shah@redhat.com>
Mon, 18 Jul 2011 10:00:15 +0000 (15:30 +0530)
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>
hw/virtio-serial-bus.c

index 9859f9fb95742655f0a618077a2ecb171c19c12f..6d73386441c8a0d1b92fb591c0c3e413a02a63cb 100644 (file)
@@ -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;
     }