From aa9ad6b4296a34ccf464ceed5ccaf8e5d5f2277d Mon Sep 17 00:00:00 2001 From: fcambus Date: Thu, 27 Aug 2020 14:14:00 +0000 Subject: [PATCH] Fix a bunch of typos in various kernel man pages. --- share/man/man9/condvar.9 | 4 ++-- share/man/man9/ltsleep.9 | 4 ++-- share/man/man9/pci_configure_bus.9 | 4 ++-- share/man/man9/pci_intr.9 | 4 ++-- share/man/man9/timecounter.9 | 4 ++-- share/man/man9/usbdi.9 | 6 +++--- share/man/man9/uvm_map.9 | 4 ++-- share/man/man9/vfsops.9 | 6 +++--- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/share/man/man9/condvar.9 b/share/man/man9/condvar.9 index 9b4b271646e0..83a46d6d1d5b 100644 --- a/share/man/man9/condvar.9 +++ b/share/man/man9/condvar.9 @@ -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) { diff --git a/share/man/man9/ltsleep.9 b/share/man/man9/ltsleep.9 index 6259992816e8..536d91f6eaa1 100644 --- a/share/man/man9/ltsleep.9 +++ b/share/man/man9/ltsleep.9 @@ -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 diff --git a/share/man/man9/pci_configure_bus.9 b/share/man/man9/pci_configure_bus.9 index 0af3db29e714..56037e5a18a8 100644 --- a/share/man/man9/pci_configure_bus.9 +++ b/share/man/man9/pci_configure_bus.9 @@ -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 added. 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. diff --git a/share/man/man9/pci_intr.9 b/share/man/man9/pci_intr.9 index 267a713fa7d5..9d48dd78a9ea 100644 --- a/share/man/man9/pci_intr.9 +++ b/share/man/man9/pci_intr.9 @@ -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 diff --git a/share/man/man9/timecounter.9 b/share/man/man9/timecounter.9 index eb27d09735c1..a30592753dea 100644 --- a/share/man/man9/timecounter.9 +++ b/share/man/man9/timecounter.9 @@ -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 @@ -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 . diff --git a/share/man/man9/usbdi.9 b/share/man/man9/usbdi.9 index c0c58a7757fd..1d2fb2b4d9dc 100644 --- a/share/man/man9/usbdi.9 +++ b/share/man/man9/usbdi.9 @@ -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 completed .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 , diff --git a/share/man/man9/uvm_map.9 b/share/man/man9/uvm_map.9 index 4ce4cee9b64c..11126a1e5356 100644 --- a/share/man/man9/uvm_map.9 +++ b/share/man/man9/uvm_map.9 @@ -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 diff --git a/share/man/man9/vfsops.9 b/share/man/man9/vfsops.9 index 4b630f042f07..57977a27454f 100644 --- a/share/man/man9/vfsops.9 +++ b/share/man/man9/vfsops.9 @@ -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 \