aboutsummaryrefslogtreecommitdiff
path: root/net/tap-haiku.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tap-haiku.c')
-rw-r--r--net/tap-haiku.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tap-haiku.c b/net/tap-haiku.c
index 0905b2887d..d18590c636 100644
--- a/net/tap-haiku.c
+++ b/net/tap-haiku.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 Haiku\n");
+ error_setg(errp, "no tap on Haiku");
return -1;
}