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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tap-solaris.c b/net/tap-solaris.c
index 7839323e20..079046bab8 100644
--- a/net/tap-solaris.c
+++ b/net/tap-solaris.c
@@ -174,8 +174,9 @@ static int tap_alloc(char *dev, size_t dev_size)
}
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)
{
+ /* FIXME error_setg(errp, ...) on failure */
char dev[10]="";
int fd;
if( (fd = tap_alloc(dev, sizeof(dev))) < 0 ){