Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src fix misspellings of 'available' and nearby typos
details: https://anonhg.NetBSD.org/src/rev/5a9a5b305323
branches: trunk
changeset: 369958:5a9a5b305323
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Sep 10 12:14:17 2022 +0000
description:
fix misspellings of 'available' and nearby typos
diffstat:
lib/libdm/dm.3 | 6 +++---
share/man/man3lua/netpgp.3lua | 4 ++--
sys/arch/aarch64/include/cpufunc.h | 4 ++--
sys/arch/i386/stand/lib/bios_disk.S | 4 ++--
sys/opencrypto/cryptodev.c | 8 ++++----
tests/net/bpf/t_bpf.c | 10 +++++-----
usr.sbin/bootp/bootptest/print-bootp.c | 4 ++--
7 files changed, 20 insertions(+), 20 deletions(-)
diffs (173 lines):
diff -r 7208e05f15e2 -r 5a9a5b305323 lib/libdm/dm.3
--- a/lib/libdm/dm.3 Sat Sep 10 11:40:08 2022 +0000
+++ b/lib/libdm/dm.3 Sat Sep 10 12:14:17 2022 +0000
@@ -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 @@
.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 @@
.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.
diff -r 7208e05f15e2 -r 5a9a5b305323 share/man/man3lua/netpgp.3lua
--- a/share/man/man3lua/netpgp.3lua Sat Sep 10 11:40:08 2022 +0000
+++ b/share/man/man3lua/netpgp.3lua Sat Sep 10 12:14:17 2022 +0000
@@ -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 @@
.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,
diff -r 7208e05f15e2 -r 5a9a5b305323 sys/arch/aarch64/include/cpufunc.h
--- a/sys/arch/aarch64/include/cpufunc.h Sat Sep 10 11:40:08 2022 +0000
+++ b/sys/arch/aarch64/include/cpufunc.h Sat Sep 10 12:14:17 2022 +0000
@@ -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@localhost>
@@ -137,7 +137,7 @@
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;
diff -r 7208e05f15e2 -r 5a9a5b305323 sys/arch/i386/stand/lib/bios_disk.S
--- a/sys/arch/i386/stand/lib/bios_disk.S Sat Sep 10 11:40:08 2022 +0000
+++ b/sys/arch/i386/stand/lib/bios_disk.S Sat Sep 10 12:14:17 2022 +0000
@@ -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@localhost) Sept 1992
@@ -197,7 +197,7 @@
/*
* int biosdisk_int13ext(int dev):
- * check for availibility of int13 extensions.
+ * check for availability of int13 extensions.
*/
ENTRY(biosdisk_int13ext)
pusha
diff -r 7208e05f15e2 -r 5a9a5b305323 sys/opencrypto/cryptodev.c
--- a/sys/opencrypto/cryptodev.c Sat Sep 10 11:40:08 2022 +0000
+++ b/sys/opencrypto/cryptodev.c Sat Sep 10 12:14:17 2022 +0000
@@ -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 @@
}
/*
- * 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
diff -r 7208e05f15e2 -r 5a9a5b305323 tests/net/bpf/t_bpf.c
--- a/tests/net/bpf/t_bpf.c Sat Sep 10 11:40:08 2022 +0000
+++ b/tests/net/bpf/t_bpf.c Sat Sep 10 12:14:17 2022 +0000
@@ -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 @@
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");
diff -r 7208e05f15e2 -r 5a9a5b305323 usr.sbin/bootp/bootptest/print-bootp.c
--- a/usr.sbin/bootp/bootptest/print-bootp.c Sat Sep 10 11:40:08 2022 +0000
+++ b/usr.sbin/bootp/bootptest/print-bootp.c Sat Sep 10 12:14:17 2022 +0000
@@ -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@localhost> New data-driven option print routine. */
#endif
@@ -68,7 +68,7 @@
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) {
Home |
Main Index |
Thread Index |
Old Index