summary refs log tree commit diff stats
path: root/net/tap-aix.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tap-aix.c')
-rw-r--r--net/tap-aix.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/tap-aix.c b/net/tap-aix.c
index 804d16448d..18fdbf3b21 100644
--- a/net/tap-aix.c
+++ b/net/tap-aix.c
@@ -26,15 +26,14 @@
 #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;
 }
 
-int tap_set_sndbuf(int fd, const NetdevTapOptions *tap)
+void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp)
 {
-    return 0;
 }
 
 int tap_probe_vnet_hdr(int fd)