]> git.proxmox.com Git - qemu.git/blobdiff - net/tap.c
Fix BSD and win32 builds
[qemu.git] / net / tap.c
index 9ba9b4a5d44b9c5131fa644bd009968edd4860cf..672b0ee0b49c226d41f9dc44ce6e8ac8706b41a9 100644 (file)
--- a/net/tap.c
+++ b/net/tap.c
@@ -394,7 +394,7 @@ int net_init_tap(QemuOpts *opts, Monitor *mon, const char *name, VLANState *vlan
             qemu_opt_get(opts, "script") ||
             qemu_opt_get(opts, "downscript") ||
             qemu_opt_get(opts, "vnet_hdr")) {
-            qemu_error("ifname=, script=, downscript= and vnet_hdr= is invalid with fd=\n");
+            error_report("ifname=, script=, downscript= and vnet_hdr= is invalid with fd=");
             return -1;
         }