Module Name: src Committed By: gutteridge Date: Tue Feb 7 01:46:37 UTC 2023
Modified Files: src/sys/net: bpf.c Log Message: bpf.c: fix a few typos and grammatical issues in comments To generate a diff of this commit: cvs rdiff -u -r1.249 -r1.250 src/sys/net/bpf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/bpf.c diff -u src/sys/net/bpf.c:1.249 src/sys/net/bpf.c:1.250 --- src/sys/net/bpf.c:1.249 Wed Nov 30 06:02:37 2022 +++ src/sys/net/bpf.c Tue Feb 7 01:46:37 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: bpf.c,v 1.249 2022/11/30 06:02:37 ozaki-r Exp $ */ +/* $NetBSD: bpf.c,v 1.250 2023/02/07 01:46:37 gutteridge Exp $ */ /* * Copyright (c) 1990, 1991, 1993 @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.249 2022/11/30 06:02:37 ozaki-r Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.250 2023/02/07 01:46:37 gutteridge Exp $"); #if defined(_KERNEL_OPT) #include "opt_bpf.h" @@ -417,7 +417,7 @@ bpf_movein(struct ifnet *ifp, struct uio } } - /* Insure the data is properly aligned */ + /* Ensure the data is properly aligned */ if (align > 0) m->m_data += align; @@ -1759,7 +1759,7 @@ _bpf_mtap2(struct bpf_if *bp, void *data /* * Craft on-stack mbuf suitable for passing to bpf_filter. - * Note that we cut corners here; we only setup what's + * Note that we cut corners here; we only set up what's * absolutely needed--this mbuf should never go anywhere else. */ (void)memset(&mb, 0, sizeof(mb)); @@ -1834,7 +1834,7 @@ _bpf_mtap_af(struct bpf_if *bp, uint32_t /* * Put the SLIP pseudo-"link header" in place. * Note this M_PREPEND() should never fail, - * swince we know we always have enough space + * since we know we always have enough space * in the input buffer. */ static void @@ -1985,7 +1985,7 @@ bpf_hdrlen(struct bpf_d *d) /* * Move the packet data from interface memory (pkt) into the - * store buffer. Call the wakeup functions if it's time to wakeup + * store buffer. Call the wakeup functions if it's time to wake up * a listener (buffer full), "cpfn" is the routine called to do the * actual data transfer. memcpy is passed in to copy contiguous chunks, * while bpf_mcpy is passed in to copy mbuf chains. In the latter case,