summaryrefslogtreecommitdiff
path: root/hw/vhost_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vhost_net.c')
-rw-r--r--hw/vhost_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vhost_net.c b/hw/vhost_net.c
index 8693ac27f6..d1df0e2447 100644
--- a/hw/vhost_net.c
+++ b/hw/vhost_net.c
@@ -214,7 +214,7 @@ int vhost_net_start(VirtIODevice *dev, NetClientState *ncs,
int r, i = 0;
if (!dev->binding->set_guest_notifiers) {
- error_report("binding does not support guest notifiers\n");
+ error_report("binding does not support guest notifiers");
r = -ENOSYS;
goto err;
}
@@ -231,7 +231,7 @@ int vhost_net_start(VirtIODevice *dev, NetClientState *ncs,
total_queues * 2,
true);
if (r < 0) {
- error_report("Error binding guest notifier: %d\n", -r);
+ error_report("Error binding guest notifier: %d", -r);
goto err;
}