[PATCH 3/4] Fix if_ether.h build with -Werror=array-parameter enabled

Etienne Brateau <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
---
 sys/net/if_ether.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net/if_ether.h b/sys/net/if_ether.h
index 5fa7971dd71a..6732894b7a12 100644
--- a/sys/net/if_ether.h
+++ b/sys/net/if_ether.h
@@ -255,7 +255,7 @@ void	ether_set_vlan_cb(struct ethercom *, ether_vlancb_t);
 int	ether_ioctl(struct ifnet *, u_long, void *);
 int	ether_addmulti(const struct sockaddr *, struct ethercom *);
 int	ether_delmulti(const struct sockaddr *, struct ethercom *);
-int	ether_multiaddr(const struct sockaddr *, uint8_t[], uint8_t[]);
+int	ether_multiaddr(const struct sockaddr *, uint8_t[ETHER_ADDR_LEN], uint8_t[ETHER_ADDR_LEN]);
 void    ether_input(struct ifnet *, struct mbuf *);
 
 /*
-- 
2.33.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.