summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_umb.c
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2021-03-30 20:58:19 +0000
committersthen <sthen@openbsd.org>2021-03-30 20:58:19 +0000
commitcb6aabf8dec4728ac72ed1cf84cb63183544292c (patch)
tree3ce03cb1026b3bf6a112f6a14cee0e050c707d33 /sys/dev/usb/if_umb.c
parentIn HTML output, correctly render .Bd -unfilled in proportionally-spaced (diff)
downloadwireguard-openbsd-cb6aabf8dec4728ac72ed1cf84cb63183544292c.tar.xz
wireguard-openbsd-cb6aabf8dec4728ac72ed1cf84cb63183544292c.zip
fix typos in comments
Diffstat (limited to 'sys/dev/usb/if_umb.c')
-rw-r--r--sys/dev/usb/if_umb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_umb.c b/sys/dev/usb/if_umb.c
index 54ca5b5cfa1..655a7f5829e 100644
--- a/sys/dev/usb/if_umb.c
+++ b/sys/dev/usb/if_umb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_umb.c,v 1.41 2021/03/30 15:59:04 patrick Exp $ */
+/* $OpenBSD: if_umb.c,v 1.42 2021/03/30 20:58:19 sthen Exp $ */
/*
* Copyright (c) 2016 genua mbH
@@ -670,7 +670,7 @@ umb_ncm_setup(struct umb_softc *sc)
usb_device_request_t req;
struct ncm_ntb_parameters np;
- /* Query NTB tranfers sizes */
+ /* Query NTB transfer sizes */
req.bmRequestType = UT_READ_CLASS_INTERFACE;
req.bRequest = NCM_GET_NTB_PARAMETERS;
USETW(req.wValue, 0);
@@ -922,7 +922,7 @@ umb_input(struct ifnet *ifp, struct mbuf *m)
}
m->m_pkthdr.ph_rtableid = ifp->if_rdomain;
- /* pop of DLT_LOOP header, no longer needed */
+ /* pop off DLT_LOOP header, no longer needed */
af = *mtod(m, uint32_t *);
m_adj(m, sizeof (af));
af = ntohl(af);