From 80b832c300c2fc39c68e0ab095d408cb9199cfa0 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 15 May 2015 13:58:55 +0200 Subject: tap: Convert tap_set_sndbuf() to Error Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Message-id: 1431691143-1015-8-git-send-email-armbru@redhat.com Signed-off-by: Stefan Hajnoczi --- net/tap_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/tap_int.h') diff --git a/net/tap_int.h b/net/tap_int.h index 79afdf2d58..6df271f823 100644 --- a/net/tap_int.h +++ b/net/tap_int.h @@ -34,7 +34,7 @@ int tap_open(char *ifname, int ifname_size, int *vnet_hdr, ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen); -int tap_set_sndbuf(int fd, const NetdevTapOptions *tap); +void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp); int tap_probe_vnet_hdr(int fd); int tap_probe_vnet_hdr_len(int fd, int len); int tap_probe_has_ufo(int fd); -- cgit v1.2.3