aboutsummaryrefslogtreecommitdiff
path: root/net/tap-solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tap-solaris.c')
-rw-r--r--net/tap-solaris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tap-solaris.c b/net/tap-solaris.c
index 0b428617bd..50d127ad3f 100644
--- a/net/tap-solaris.c
+++ b/net/tap-solaris.c
@@ -186,8 +186,8 @@ int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required
*vnet_hdr = 0;
if (vnet_hdr_required && !*vnet_hdr) {
- qemu_error("vnet_hdr=1 requested, but no kernel "
- "support for IFF_VNET_HDR available");
+ error_report("vnet_hdr=1 requested, but no kernel "
+ "support for IFF_VNET_HDR available");
close(fd);
return -1;
}