diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2023-07-03 07:40:53 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2023-07-03 07:40:53 +0000 |
commit | dc9331593b01d6f92b2b4f25ee0abac8e7715f16 (patch) | |
tree | 7ef48f238441016434dc94dcff45e74055261abb /sys/dev/pv | |
parent | 8e6b6bf22167a26ac2535149b92e2610b5840e0e (diff) |
typofix lladdr in function names; OK deraadt jan
Diffstat (limited to 'sys/dev/pv')
-rw-r--r-- | sys/dev/pv/if_vio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pv/if_vio.c b/sys/dev/pv/if_vio.c index 8c2e97d8073..b926725a85d 100644 --- a/sys/dev/pv/if_vio.c +++ b/sys/dev/pv/if_vio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vio.c,v 1.23 2023/05/29 08:13:35 sf Exp $ */ +/* $OpenBSD: if_vio.c,v 1.24 2023/07/03 07:40:52 kn Exp $ */ /* * Copyright (c) 2012 Stefan Fritsch, Alexander Fiveg. @@ -265,8 +265,8 @@ int vio_init(struct ifnet *); void vio_stop(struct ifnet *, int); void vio_start(struct ifnet *); int vio_ioctl(struct ifnet *, u_long, caddr_t); -void vio_get_lladr(struct arpcom *ac, struct virtio_softc *vsc); -void vio_put_lladr(struct arpcom *ac, struct virtio_softc *vsc); +void vio_get_lladdr(struct arpcom *ac, struct virtio_softc *vsc); +void vio_put_lladdr(struct arpcom *ac, struct virtio_softc *vsc); /* rx */ int vio_add_rx_mbuf(struct vio_softc *, int); @@ -491,7 +491,7 @@ err_hdr: } void -vio_get_lladr(struct arpcom *ac, struct virtio_softc *vsc) +vio_get_lladdr(struct arpcom *ac, struct virtio_softc *vsc) { int i; for (i = 0; i < ETHER_ADDR_LEN; i++) { @@ -501,7 +501,7 @@ vio_get_lladr(struct arpcom *ac, struct virtio_softc *vsc) } void -vio_put_lladr(struct arpcom *ac, struct virtio_softc *vsc) +vio_put_lladdr(struct arpcom *ac, struct virtio_softc *vsc) { int i; for (i = 0; i < ETHER_ADDR_LEN; i++) { @@ -537,10 +537,10 @@ vio_attach(struct device *parent, struct device *self, void *aux) virtio_negotiate_features(vsc, virtio_net_feature_names); if (virtio_has_feature(vsc, VIRTIO_NET_F_MAC)) { - vio_get_lladr(&sc->sc_ac, vsc); + vio_get_lladdr(&sc->sc_ac, vsc); } else { ether_fakeaddr(ifp); - vio_put_lladr(&sc->sc_ac, vsc); + vio_put_lladdr(&sc->sc_ac, vsc); } printf(": address %s\n", ether_sprintf(sc->sc_ac.ac_enaddr)); |