aboutsummaryrefslogtreecommitdiff
path: root/net/tap-aix.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tap-aix.c')
-rw-r--r--net/tap-aix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tap-aix.c b/net/tap-aix.c
index 0a3d46158f..18fdbf3b21 100644
--- a/net/tap-aix.c
+++ b/net/tap-aix.c
@@ -26,9 +26,9 @@
#include <stdio.h>
int tap_open(char *ifname, int ifname_size, int *vnet_hdr,
- int vnet_hdr_required, int mq_required)
+ int vnet_hdr_required, int mq_required, Error **errp)
{
- fprintf(stderr, "no tap on AIX\n");
+ error_setg(errp, "no tap on AIX");
return -1;
}