From 95c9cde2dff9de9f4afa0450697bd70f56715be1 Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Thu, 7 Jul 2011 18:16:13 +0530 Subject: [PATCH] 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 --- hw/virtio-serial-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/virtio-serial-bus.c b/hw/virtio-serial-bus.c index 9859f9fb9..6d7338644 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; } -- 2.39.2