fix misspellings of 'available' and nearby typos

This commit is contained in:
rillig 2022-09-10 12:14:17 +00:00
parent 6175fbdff5
commit 6c259f3957
7 changed files with 20 additions and 20 deletions

View File

@ -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.

View File

@ -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,

View File

@ -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 <ryo@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;

View File

@ -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 (julian@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

View File

@ -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, int count, u_int32_t *sesid)
}
/*
* 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

View File

@ -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");

View File

@ -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 <gwr@mc.com> New data-driven option print routine. */
#endif
@ -68,7 +68,7 @@ bootp_print(struct bootp *bp, int length, u_short sport, u_short dport)
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) {