Module Name: src Committed By: rillig Date: Sat Sep 10 12:14:18 UTC 2022
Modified Files: src/lib/libdm: dm.3 src/share/man/man3lua: netpgp.3lua src/sys/arch/aarch64/include: cpufunc.h src/sys/arch/i386/stand/lib: bios_disk.S src/sys/opencrypto: cryptodev.c src/tests/net/bpf: t_bpf.c src/usr.sbin/bootp/bootptest: print-bootp.c Log Message: fix misspellings of 'available' and nearby typos To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libdm/dm.3 cvs rdiff -u -r1.2 -r1.3 src/share/man/man3lua/netpgp.3lua cvs rdiff -u -r1.24 -r1.25 src/sys/arch/aarch64/include/cpufunc.h cvs rdiff -u -r1.22 -r1.23 src/sys/arch/i386/stand/lib/bios_disk.S cvs rdiff -u -r1.124 -r1.125 src/sys/opencrypto/cryptodev.c cvs rdiff -u -r1.8 -r1.9 src/tests/net/bpf/t_bpf.c cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/bootp/bootptest/print-bootp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libdm/dm.3 diff -u src/lib/libdm/dm.3:1.6 src/lib/libdm/dm.3:1.7 --- src/lib/libdm/dm.3:1.6 Fri Jan 22 22:12:40 2016 +++ src/lib/libdm/dm.3 Sat Sep 10 12:14:17 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: dm.3,v 1.6 2016/01/22 22:12:40 dholland Exp $ +.\" $NetBSD: dm.3,v 1.7 2022/09/10 12:14:17 rillig Exp $ .\" .\" Copyright (c) 2004,2009 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -171,7 +171,7 @@ Sends created .Fa libdm_task to kernel and receives new one as reply. .Pp -List of attributes avaialable in +List of attributes available in .Vt libdm_task_t : .Bl -column -offset indent "DM_IOCTL_TARGET_COUNT" "Number of table entries" "XXX" .It Sy Attribute Ta Sy Description Ta Sy Mode @@ -356,7 +356,7 @@ with libdm_cmd_iter iterator. .Fn libdm_target_get_name returns pointer to a string with available target name. .Pp -.Fn lobdm_target_get_version +.Fn libdm_target_get_version Sets argument .Fa ver[3] to a in-kernel loaded target version. Index: src/share/man/man3lua/netpgp.3lua diff -u src/share/man/man3lua/netpgp.3lua:1.2 src/share/man/man3lua/netpgp.3lua:1.3 --- src/share/man/man3lua/netpgp.3lua:1.2 Mon Apr 30 07:10:04 2018 +++ src/share/man/man3lua/netpgp.3lua Sat Sep 10 12:14:17 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: netpgp.3lua,v 1.2 2018/04/30 07:10:04 wiz Exp $ +.\" $NetBSD: netpgp.3lua,v 1.3 2022/09/10 12:14:17 rillig Exp $ .\" .\" Copyright (c) 2018 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -55,7 +55,7 @@ functionality from Lua .Sh DESCRIPTION The .Nm -Lua binding provides access to functionality availabile in +Lua binding provides access to functionality available in .Xr libnetpgp 3 . .Sh EXAMPLES The following example code demonstrates the process of encrypting, decrypting, Index: src/sys/arch/aarch64/include/cpufunc.h diff -u src/sys/arch/aarch64/include/cpufunc.h:1.24 src/sys/arch/aarch64/include/cpufunc.h:1.25 --- src/sys/arch/aarch64/include/cpufunc.h:1.24 Wed Jul 20 01:35:25 2022 +++ src/sys/arch/aarch64/include/cpufunc.h Sat Sep 10 12:14:17 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: cpufunc.h,v 1.24 2022/07/20 01:35:25 riastradh Exp $ */ +/* $NetBSD: cpufunc.h,v 1.25 2022/09/10 12:14:17 rillig Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu <r...@nerv.org> @@ -137,7 +137,7 @@ cpu_earlydevice_va_p(void) if ((reg_sctlr_el1_read() & SCTLR_M) == 0) return false; - /* device mapping will be availabled after pmap_devmap_bootstrap() */ + /* device mapping will be available after pmap_devmap_bootstrap() */ if (!pmap_devmap_bootstrap_done) return false; Index: src/sys/arch/i386/stand/lib/bios_disk.S diff -u src/sys/arch/i386/stand/lib/bios_disk.S:1.22 src/sys/arch/i386/stand/lib/bios_disk.S:1.23 --- src/sys/arch/i386/stand/lib/bios_disk.S:1.22 Sat Jul 19 14:50:21 2014 +++ src/sys/arch/i386/stand/lib/bios_disk.S Sat Sep 10 12:14:17 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: bios_disk.S,v 1.22 2014/07/19 14:50:21 erh Exp $ */ +/* $NetBSD: bios_disk.S,v 1.23 2022/09/10 12:14:17 rillig Exp $ */ /* * Ported to boot 386BSD by Julian Elischer (jul...@tfs.com) Sept 1992 @@ -197,7 +197,7 @@ ok: /* * int biosdisk_int13ext(int dev): - * check for availibility of int13 extensions. + * check for availability of int13 extensions. */ ENTRY(biosdisk_int13ext) pusha Index: src/sys/opencrypto/cryptodev.c diff -u src/sys/opencrypto/cryptodev.c:1.124 src/sys/opencrypto/cryptodev.c:1.125 --- src/sys/opencrypto/cryptodev.c:1.124 Sun May 22 11:40:38 2022 +++ src/sys/opencrypto/cryptodev.c Sat Sep 10 12:14:17 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: cryptodev.c,v 1.124 2022/05/22 11:40:38 riastradh Exp $ */ +/* $NetBSD: cryptodev.c,v 1.125 2022/09/10 12:14:17 rillig Exp $ */ /* $FreeBSD: src/sys/opencrypto/cryptodev.c,v 1.4.2.4 2003/06/03 00:09:02 sam Exp $ */ /* $OpenBSD: cryptodev.c,v 1.53 2002/07/10 22:21:30 mickey Exp $ */ @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.124 2022/05/22 11:40:38 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.125 2022/09/10 12:14:17 rillig Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1727,8 +1727,8 @@ cryptodev_msessionfin(struct fcrypt *fcr } /* - * collect as many completed requests as are availble, or count completed - * requests whichever is less. + * collect as many completed requests as are available, or count completed + * requests, whichever is less. * return the number of requests. */ static int Index: src/tests/net/bpf/t_bpf.c diff -u src/tests/net/bpf/t_bpf.c:1.8 src/tests/net/bpf/t_bpf.c:1.9 --- src/tests/net/bpf/t_bpf.c:1.8 Thu Feb 9 02:18:13 2017 +++ src/tests/net/bpf/t_bpf.c Sat Sep 10 12:14:18 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: t_bpf.c,v 1.8 2017/02/09 02:18:13 ozaki-r Exp $ */ +/* $NetBSD: t_bpf.c,v 1.9 2022/09/10 12:14:18 rillig Exp $ */ /*- * Copyright (c) 2010 Antti Kantee. All Rights Reserved. @@ -25,7 +25,7 @@ * SUCH DAMAGE. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_bpf.c,v 1.8 2017/02/09 02:18:13 ozaki-r Exp $"); +__RCSID("$NetBSD: t_bpf.c,v 1.9 2022/09/10 12:14:18 rillig Exp $"); #include <sys/param.h> #include <sys/ioctl.h> @@ -311,20 +311,20 @@ ATF_TC_BODY(bpf_ioctl_GDLTLIST, tc) RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr)); - /* Get the size of an avaiable DLT list */ + /* Get the size of an available DLT list */ dltlist.bfl_len = 0; dltlist.bfl_list = NULL; RL(rump_sys_ioctl(bpfd, BIOCGDLTLIST, &dltlist)); ATF_REQUIRE(dltlist.bfl_len == 1); - /* Get an avaiable DLT list */ + /* Get an available DLT list */ dltlist.bfl_list = calloc(sizeof(u_int), 1); dltlist.bfl_len = 1; RL(rump_sys_ioctl(bpfd, BIOCGDLTLIST, &dltlist)); ATF_REQUIRE(dltlist.bfl_len == 1); ATF_REQUIRE(dltlist.bfl_list[0] == DLT_EN10MB); - /* Get an avaiable DLT list with a less buffer (fake with bfl_len) */ + /* Get an available DLT list with a less buffer (fake with bfl_len) */ dltlist.bfl_len = 0; ATF_REQUIRE_EQ_MSG(rump_sys_ioctl(bpfd, BIOCGDLTLIST, &dltlist), -1, "This should fail with ENOMEM"); Index: src/usr.sbin/bootp/bootptest/print-bootp.c diff -u src/usr.sbin/bootp/bootptest/print-bootp.c:1.12 src/usr.sbin/bootp/bootptest/print-bootp.c:1.13 --- src/usr.sbin/bootp/bootptest/print-bootp.c:1.12 Sun Dec 12 22:20:52 2021 +++ src/usr.sbin/bootp/bootptest/print-bootp.c Sat Sep 10 12:14:18 2022 @@ -26,7 +26,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: print-bootp.c,v 1.12 2021/12/12 22:20:52 andvar Exp $"); +__RCSID("$NetBSD: print-bootp.c,v 1.13 2022/09/10 12:14:18 rillig Exp $"); /* 93/10/10 <g...@mc.com> New data-driven option print routine. */ #endif @@ -68,7 +68,7 @@ bootp_print(struct bootp *bp, int length if (length != sizeof(struct bootp)) (void) printf(" [len=%d]", length); - /* 'ep' points to the end of avaible data. */ + /* 'ep' points to the end of available data. */ ep = (u_char *) snapend; switch (bp->bp_op) {