Module Name: src
Committed By: fcambus
Date: Thu Aug 27 14:14:00 UTC 2020
Modified Files:
src/share/man/man9: condvar.9 ltsleep.9 pci_configure_bus.9 pci_intr.9
timecounter.9 usbdi.9 uvm_map.9 vfsops.9
Log Message:
Fix a bunch of typos in various kernel man pages.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/share/man/man9/condvar.9
cvs rdiff -u -r1.18 -r1.19 src/share/man/man9/ltsleep.9
cvs rdiff -u -r1.19 -r1.20 src/share/man/man9/pci_configure_bus.9
cvs rdiff -u -r1.26 -r1.27 src/share/man/man9/pci_intr.9
cvs rdiff -u -r1.9 -r1.10 src/share/man/man9/timecounter.9
cvs rdiff -u -r1.34 -r1.35 src/share/man/man9/usbdi.9
cvs rdiff -u -r1.11 -r1.12 src/share/man/man9/uvm_map.9
cvs rdiff -u -r1.51 -r1.52 src/share/man/man9/vfsops.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/condvar.9
diff -u src/share/man/man9/condvar.9:1.29 src/share/man/man9/condvar.9:1.30
--- src/share/man/man9/condvar.9:1.29 Wed Aug 19 02:19:07 2020
+++ src/share/man/man9/condvar.9 Thu Aug 27 14:14:00 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: condvar.9,v 1.29 2020/08/19 02:19:07 msaitoh Exp $
+.\" $NetBSD: condvar.9,v 1.30 2020/08/27 14:14:00 fcambus Exp $
.\"
.\" Copyright (c) 2006, 2007, 2008, 2020 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -310,7 +310,7 @@ Consuming a resource:
/*
* Wait for the resource to become available. Timeout after
* five seconds. If the resource is not available within the
- * alloted time, return an error.
+ * allotted time, return an error.
*/
struct bintime timeout = { .sec = 5, .frac = 0 };
while (res->state == BUSY) {
Index: src/share/man/man9/ltsleep.9
diff -u src/share/man/man9/ltsleep.9:1.18 src/share/man/man9/ltsleep.9:1.19
--- src/share/man/man9/ltsleep.9:1.18 Sat Mar 18 19:01:01 2017
+++ src/share/man/man9/ltsleep.9 Thu Aug 27 14:14:00 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: ltsleep.9,v 1.18 2017/03/18 19:01:01 riastradh Exp $
+.\" $NetBSD: ltsleep.9,v 1.19 2020/08/27 14:14:00 fcambus Exp $
.\"
.\" Copyright (c) 1996, 2002, 2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -223,7 +223,7 @@ and
pairs.
The
.Fn cv_wait*
-variant to use can be determinded from looking at the corresponding
+variant to use can be determined from looking at the corresponding
.Fn tsleep
usage.
.Pp
Index: src/share/man/man9/pci_configure_bus.9
diff -u src/share/man/man9/pci_configure_bus.9:1.19 src/share/man/man9/pci_configure_bus.9:1.20
--- src/share/man/man9/pci_configure_bus.9:1.19 Fri Jul 10 06:28:49 2020
+++ src/share/man/man9/pci_configure_bus.9 Thu Aug 27 14:14:00 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci_configure_bus.9,v 1.19 2020/07/10 06:28:49 wiz Exp $
+.\" $NetBSD: pci_configure_bus.9,v 1.20 2020/08/27 14:14:00 fcambus Exp $
.\"
.\" Copyright 2001 Wasabi Systems, Inc.
.\" All rights reserved.
@@ -192,7 +192,7 @@ address, and size of the resource being
The following resource types are supported:
.Bl -tag -width PCICONF_RESOURCE_PREFETCHABLE_MEM -offset indent
.It Dv PCICONF_RESOURCE_IO
-An adddress region used for PCI I/O accesses.
+An address region used for PCI I/O accesses.
.It Dv PCICONF_RESOURCE_MEM
An address region used for PCI memory accesses where reads may have side
effects.
Index: src/share/man/man9/pci_intr.9
diff -u src/share/man/man9/pci_intr.9:1.26 src/share/man/man9/pci_intr.9:1.27
--- src/share/man/man9/pci_intr.9:1.26 Thu Sep 20 06:48:53 2018
+++ src/share/man/man9/pci_intr.9 Thu Aug 27 14:14:00 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci_intr.9,v 1.26 2018/09/20 06:48:53 rin Exp $
+.\" $NetBSD: pci_intr.9,v 1.27 2020/08/27 14:14:00 fcambus Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -132,7 +132,7 @@ function sets an attribute
.Fa attr
of the interrupt handler to
.Fa data .
-Currenty, only the following attribute is supported:
+Currently, only the following attribute is supported:
.Bl -tag -width PCI_INTR_MPSAFE
.It Dv PCI_INTR_MPSAFE
If this attribute is set to
Index: src/share/man/man9/timecounter.9
diff -u src/share/man/man9/timecounter.9:1.9 src/share/man/man9/timecounter.9:1.10
--- src/share/man/man9/timecounter.9:1.9 Tue Jun 8 05:50:01 2010
+++ src/share/man/man9/timecounter.9 Thu Aug 27 14:14:00 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: timecounter.9,v 1.9 2010/06/08 05:50:01 jruoho Exp $
+.\" $NetBSD: timecounter.9,v 1.10 2020/08/27 14:14:00 fcambus Exp $
.\" $OpenBSD: tc_init.9,v 1.4 2007/05/31 19:20:01 jmc Exp $
.\"
.\" Copyright (c) 2004 Alexander Yurchenko <[email protected]>
@@ -163,7 +163,7 @@ The
.Va bintime
format is a binary number, not a pseudo-decimal number,
so it can be used as a simple binary counter
-without expensive 64 bit arithmetics.
+without expensive 64 bit arithmetic.
.Sh CODE REFERENCES
The timecounter framework is implemented in the file
.Pa sys/kern/kern_tc.c .
Index: src/share/man/man9/usbdi.9
diff -u src/share/man/man9/usbdi.9:1.34 src/share/man/man9/usbdi.9:1.35
--- src/share/man/man9/usbdi.9:1.34 Tue Sep 4 00:00:47 2018
+++ src/share/man/man9/usbdi.9 Thu Aug 27 14:14:00 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: usbdi.9,v 1.34 2018/09/04 00:00:47 mrg Exp $
+.\" $NetBSD: usbdi.9,v 1.35 2020/08/27 14:14:00 fcambus Exp $
.\"
.\" Copyright (c) 2012 Matthew R. Green
.\" All rights reserved.
@@ -603,7 +603,7 @@ function is called, which takes the comp
.Fa xfer ,
the private data
.Fa priv
-originally assocated with this transfer, and
+originally associated with this transfer, and
.Fa status
the status of this transfer.
.Pp
@@ -930,7 +930,7 @@ The
.Fn usb_init_task
function takes a pointer to a
.Ft struct usb_task
-that will be initalised, a function to call for this task
+that will be initialised, a function to call for this task
.Fa func ,
the argument to pass to
.Fa func ,
Index: src/share/man/man9/uvm_map.9
diff -u src/share/man/man9/uvm_map.9:1.11 src/share/man/man9/uvm_map.9:1.12
--- src/share/man/man9/uvm_map.9:1.11 Mon Aug 20 14:29:05 2018
+++ src/share/man/man9/uvm_map.9 Thu Aug 27 14:14:00 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: uvm_map.9,v 1.11 2018/08/20 14:29:05 riastradh Exp $
+.\" $NetBSD: uvm_map.9,v 1.12 2020/08/27 14:14:00 fcambus Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
.\" All rights reserved.
@@ -250,7 +250,7 @@ Unmap only VA space.
Used by
.Fn uvm_unmap .
.It UVM_FLAG_UNMAP
-Any existing entires in the range for this mapping should be
+Any existing entries in the range for this mapping should be
unmapped as part of creating the new mapping.
Use of this flag without also specifying
.Dv UVM_FLAG_FIXED
Index: src/share/man/man9/vfsops.9
diff -u src/share/man/man9/vfsops.9:1.51 src/share/man/man9/vfsops.9:1.52
--- src/share/man/man9/vfsops.9:1.51 Fri Aug 7 17:59:32 2020
+++ src/share/man/man9/vfsops.9 Thu Aug 27 14:14:00 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: vfsops.9,v 1.51 2020/08/07 17:59:32 christos Exp $
+.\" $NetBSD: vfsops.9,v 1.52 2020/08/27 14:14:00 fcambus Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -140,11 +140,11 @@ Ta Get vnode from file id
.\"
.It int (*vfs_loadvnode)() \
Ta Dv VFS_LOADVNODE \
-Ta Initialze vnode with file
+Ta Initialize vnode with file
.\"
.It int (*vfs_loadvnode)() \
Ta Dv VFS_NEWVNODE \
-Ta Initialze vnode with new file
+Ta Initialize vnode with new file
.\"
.It int (*vfs_fhtovp)() \
Ta Dv VFS_FHTOVP \