fix various typos, mainly in comments, but also in man pages and log messages.

This commit is contained in:
andvar 2021-10-21 13:21:53 +00:00
parent b250918c9b
commit 6f8dc1509f
24 changed files with 66 additions and 66 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: storage,v 1.27 2019/05/29 02:34:19 msaitoh Exp $ $NetBSD: storage,v 1.28 2021/10/21 13:21:53 andvar Exp $
NetBSD Storage Roadmap NetBSD Storage Roadmap
====================== ======================
@ -223,7 +223,7 @@ optimizations, such as DragonFly pbuf(9) or something similar.
Semi-relatedly, it is also time for scsipi to become MPSAFE. Semi-relatedly, it is also time for scsipi to become MPSAFE.
- As of May 2016 a port of OpenBSD's driver has been commited. This - As of May 2016 a port of OpenBSD's driver has been committed. This
will be in -8. will be in -8.
- The nvme driver is a backend to ld(4) and is fully is MPSAFE, but we - The nvme driver is a backend to ld(4) and is fully is MPSAFE, but we
still need to attend to I/O path bottlenecks like kern/53124. still need to attend to I/O path bottlenecks like kern/53124.
@ -328,11 +328,11 @@ people; this is a harder project than it looks.
hashes; jdolecek also implemented several frequently used ext4 features hashes; jdolecek also implemented several frequently used ext4 features
so most contemporary ext filesystems should be possible to mount so most contemporary ext filesystems should be possible to mount
read-write read-write
- still need rw dir_nhash and xattr (semi-easy), and eventually journalling - still need rw dir_nhash and xattr (semi-easy), and eventually journaling
(hard) (hard)
- There is no clear timeframe or release target. - There is no clear timeframe or release target.
- jdolecek is working on improving ext3/ext4 support (particularily - jdolecek is working on improving ext3/ext4 support (particularly
journalling) journaling)
14. Port hammer from Dragonfly 14. Port hammer from Dragonfly

View File

@ -36,7 +36,7 @@
%#ifndef __lint__ %#ifndef __lint__
%/*static char sccsid[] = "from: @(#)mount.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)mount.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)mount.x 2.1 88/08/01 4.0 RPCSRC";*/ %/*static char sccsid[] = "from: @(#)mount.x 2.1 88/08/01 4.0 RPCSRC";*/
%__RCSID("$NetBSD: mount.x,v 1.6 2004/07/01 22:52:34 kleink Exp $"); %__RCSID("$NetBSD: mount.x,v 1.7 2021/10/21 13:21:53 andvar Exp $");
%/* $FreeBSD: src/include/rpcsvc/mount.x,v 1.7 2003/05/04 02:51:42 obrien Exp $ */ %/* $FreeBSD: src/include/rpcsvc/mount.x,v 1.7 2003/05/04 02:51:42 obrien Exp $ */
%#endif /* not __lint__ */ %#endif /* not __lint__ */
#endif #endif
@ -144,8 +144,8 @@ program MOUNTPROG {
*/ */
version MOUNTVERS { version MOUNTVERS {
/* /*
* Does no work. It is made available in all RPC services * Does not work. It is made available in all RPC services
* to allow server reponse testing and timing * to allow server response testing and timing
*/ */
void void
MOUNTPROC_NULL(void) = 0; MOUNTPROC_NULL(void) = 0;
@ -198,8 +198,8 @@ program MOUNTPROG {
} = 1; } = 1;
version MOUNTVERS3 { version MOUNTVERS3 {
/* /*
* Does no work. It is made available in all RPC services * Does not work. It is made available in all RPC services
* to allow server reponse testing and timing * to allow server response testing and timing
*/ */
void void
MOUNTPROC_NULL(void) = 0; MOUNTPROC_NULL(void) = 0;

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2021/04/26 07:17:30 mrg Exp $ # $NetBSD: Makefile,v 1.27 2021/10/21 13:21:53 andvar Exp $
WARNS= 3 WARNS= 3
@ -37,7 +37,7 @@ COPTS.inflate.c+= ${GCC_NO_IMPLICIT_FALLTHRU}
test: minigzip test: minigzip
echo hello world | ./minigzip | ./minigzip -d echo hello world | ./minigzip | ./minigzip -d
# Note: CFLAGS ommitted by intention! # Note: CFLAGS omitted by intention!
# This is to verify that zlib.h works standalone. # This is to verify that zlib.h works standalone.
minigzip: ${ZLIBDIR}/test/minigzip.c libz.a minigzip: ${ZLIBDIR}/test/minigzip.c libz.a
${CC} -o minigzip ${ZLIBDIR}/test/minigzip.c libz.a ${CC} -o minigzip ${ZLIBDIR}/test/minigzip.c libz.a

View File

@ -1,4 +1,4 @@
.\" $NetBSD: pdc.4,v 1.3 2017/07/03 21:30:59 wiz Exp $ .\" $NetBSD: pdc.4,v 1.4 2021/10/21 13:21:53 andvar Exp $
.\" .\"
.\" $OpenBSD: pdc.4,v 1.6 2007/06/01 19:54:10 aanriot Exp $ .\" $OpenBSD: pdc.4,v 1.6 2007/06/01 19:54:10 aanriot Exp $
.\" .\"
@ -61,7 +61,7 @@ Perform a read operation attempt at the physical address
without causing a HPMC, in order to verify that the address is valid without causing a HPMC, in order to verify that the address is valid
and there is a device to respond to it. and there is a device to respond to it.
The implementation may choose to call the caller's HPMC handler and The implementation may choose to call the caller's HPMC handler and
raise error conditions on the bus convertors. raise error conditions on the bus converters.
.It Fn pdc "PDC_ALLOC" "PDC_ALLOC_DFLT" "ptr" "size" .It Fn pdc "PDC_ALLOC" "PDC_ALLOC_DFLT" "ptr" "size"
Allocate static storage for IODC use of Allocate static storage for IODC use of
.Ar size .Ar size

View File

@ -1,4 +1,4 @@
.\" $NetBSD: vio9p.4,v 1.3 2019/10/28 13:43:10 wiz Exp $ .\" $NetBSD: vio9p.4,v 1.4 2021/10/21 13:21:53 andvar Exp $
.\" .\"
.\" Copyright (c) 2019 Internet Initiative Japan, Inc. .\" Copyright (c) 2019 Internet Initiative Japan, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -44,7 +44,7 @@ by the host via virtio-9p.
It exports a 9p end-point of virtio-9p via a character device file for It exports a 9p end-point of virtio-9p via a character device file for
.Xr mount_9p 8 . .Xr mount_9p 8 .
.Pp .Pp
Each exported file system is assigned a character device and accesible via Each exported file system is assigned a character device and accessible via
.Pa /dev/vio9p0 , .Pa /dev/vio9p0 ,
.Pa /dev/vio9p1 .Pa /dev/vio9p1
and so on, respectively, in exporting order by the host. and so on, respectively, in exporting order by the host.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: statvfs.5,v 1.15 2019/09/22 22:59:38 christos Exp $ .\" $NetBSD: statvfs.5,v 1.16 2021/10/21 13:21:53 andvar Exp $
.\" .\"
.\" Copyright (c) 1989, 1991, 1993 .\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -118,7 +118,7 @@ Recognize symbolic link permission.
.It Dv ST_NODEVMTIME .It Dv ST_NODEVMTIME
Never update modification times for device files. Never update modification times for device files.
.It Dv ST_LOG .It Dv ST_LOG
Use logging (journalling). Use logging (journaling).
.It Dv ST_LOCAL .It Dv ST_LOCAL
The filesystem resides locally. The filesystem resides locally.
.It Dv ST_QUOTA .It Dv ST_QUOTA

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sysctl.7,v 1.154 2021/07/28 11:32:21 wiz Exp $ .\" $NetBSD: sysctl.7,v 1.155 2021/10/21 13:21:54 andvar Exp $
.\" .\"
.\" Copyright (c) 1993 .\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -159,7 +159,7 @@ under
.Pp .Pp
A second level name for controlling the A second level name for controlling the
.Xr wapbl 4 .Xr wapbl 4
(Write Ahead Physical Block Logging file system journalling) (Write Ahead Physical Block Logging file system journaling)
capabilities with the following third level identifiers: capabilities with the following third level identifiers:
.Bl -tag -width "123456" .Bl -tag -width "123456"
.It Li vfs.wapbl.flush_disk_cache .It Li vfs.wapbl.flush_disk_cache

View File

@ -1,4 +1,4 @@
/* $NetBSD: mfc.c,v 1.59 2021/08/07 16:18:41 thorpej Exp $ */ /* $NetBSD: mfc.c,v 1.60 2021/10/21 13:21:54 andvar Exp $ */
/* /*
* Copyright (c) 1982, 1990 The Regents of the University of California. * Copyright (c) 1982, 1990 The Regents of the University of California.
@ -55,7 +55,7 @@
#include "opt_kgdb.h" #include "opt_kgdb.h"
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mfc.c,v 1.59 2021/08/07 16:18:41 thorpej Exp $"); __KERNEL_RCSID(0, "$NetBSD: mfc.c,v 1.60 2021/10/21 13:21:54 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -1053,7 +1053,7 @@ mfcsxintr(int unit)
s1 = spltty(); s1 = spltty();
/* /*
* pass along any acumulated information * pass along any accumulated information
* while input is not blocked * while input is not blocked
*/ */
while (sc->incnt && (tp->t_state & TS_TBLOCK) == 0) { while (sc->incnt && (tp->t_state & TS_TBLOCK) == 0) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: ser.c,v 1.83 2014/07/25 08:10:31 dholland Exp $ */ /* $NetBSD: ser.c,v 1.84 2021/10/21 13:21:54 andvar Exp $ */
/* /*
* Copyright (c) 1982, 1986, 1990 The Regents of the University of California. * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@ -40,7 +40,7 @@
#include "opt_kgdb.h" #include "opt_kgdb.h"
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.83 2014/07/25 08:10:31 dholland Exp $"); __KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.84 2021/10/21 13:21:54 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -542,7 +542,7 @@ serintr(void)
s1 = spltty(); s1 = spltty();
/* /*
* pass along any acumulated information * pass along any accumulated information
*/ */
while (sbcnt > 0 && (tp->t_state & TS_TBLOCK) == 0) { while (sbcnt > 0 && (tp->t_state & TS_TBLOCK) == 0) {
/* /*

View File

@ -1,4 +1,4 @@
/* $Id: imx23_ssp.c,v 1.7 2021/09/16 21:29:41 andvar Exp $ */ /* $Id: imx23_ssp.c,v 1.8 2021/10/21 13:21:54 andvar Exp $ */
/* /*
* Copyright (c) 2012 The NetBSD Foundation, Inc. * Copyright (c) 2012 The NetBSD Foundation, Inc.
@ -550,7 +550,7 @@ issp_exec_command(sdmmc_chipset_handle_t sch, struct sdmmc_command *cmd)
cmd->c_error = sc->sc_irq_error >> 8; cmd->c_error = sc->sc_irq_error >> 8;
} }
/* Check reponse from the card if such was requested. */ /* Check response from the card if such was requested. */
if (ISSET(cmd->c_flags, SCF_RSP_PRESENT)) { if (ISSET(cmd->c_flags, SCF_RSP_PRESENT)) {
cmd->c_resp[0] = SSP_RD(sc, HW_SSP_SDRESP0); cmd->c_resp[0] = SSP_RD(sc, HW_SSP_SDRESP0);
if (ISSET(cmd->c_flags, SCF_RSP_136)) { if (ISSET(cmd->c_flags, SCF_RSP_136)) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: dcr.h,v 1.1 2006/12/02 22:18:47 freza Exp $ */ /* $NetBSD: dcr.h,v 1.2 2021/10/21 13:21:54 andvar Exp $ */
/* /*
* Copyright (c) 2006 Jachym Holecek * Copyright (c) 2006 Jachym Holecek
@ -30,7 +30,7 @@
*/ */
/* /*
* DCR is an user accesible bus on Xilinx PPC405D5Xn cores and may contain * DCR is an user accessible bus on Xilinx PPC405D5Xn cores and may contain
* arbitrary devices. Because we want to be able to share drivers with * arbitrary devices. Because we want to be able to share drivers with
* OPB/PLB, we make it a bus space backend. Each platform ("design", "board") * OPB/PLB, we make it a bus space backend. Each platform ("design", "board")
* has to provide the leaf _read_4/_write_4 routines specific to device * has to provide the leaf _read_4/_write_4 routines specific to device

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_hvnreg.h,v 1.1 2019/02/15 08:54:01 nonaka Exp $ */ /* $NetBSD: if_hvnreg.h,v 1.2 2021/10/21 13:21:54 andvar Exp $ */
/* $OpenBSD: if_hvnreg.h,v 1.3 2016/09/14 17:48:28 mikeb Exp $ */ /* $OpenBSD: if_hvnreg.h,v 1.3 2016/09/14 17:48:28 mikeb Exp $ */
/*- /*-
@ -96,7 +96,7 @@ struct hvn_nvs_init_resp {
uint32_t nvs_status; /* HVN_NVS_STATUS_ */ uint32_t nvs_status; /* HVN_NVS_STATUS_ */
} __packed; } __packed;
/* No reponse */ /* No response */
struct hvn_nvs_ndis_conf { struct hvn_nvs_ndis_conf {
uint32_t nvs_type; /* HVN_NVS_TYPE_NDIS_CONF */ uint32_t nvs_type; /* HVN_NVS_TYPE_NDIS_CONF */
uint32_t nvs_mtu; uint32_t nvs_mtu;

View File

@ -1,4 +1,4 @@
/* $NetBSD: dm9000reg.h,v 1.6 2020/10/08 21:00:25 nisimura Exp $ */ /* $NetBSD: dm9000reg.h,v 1.7 2021/10/21 13:21:54 andvar Exp $ */
/* /*
* Copyright (c) 2009 Paul Fleischer * Copyright (c) 2009 Paul Fleischer
@ -30,7 +30,7 @@
#define _DEV_IC_DM9000REG_H_ #define _DEV_IC_DM9000REG_H_
/* /*
* Registers accesible on the DM9000, extracted from pp. 11-12 from * Registers accessible on the DM9000, extracted from pp. 11-12 from
* the data sheet * the data sheet
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ds1286reg.h,v 1.8 2005/12/11 12:21:26 christos Exp $ */ /* $NetBSD: ds1286reg.h,v 1.9 2021/10/21 13:21:54 andvar Exp $ */
/* /*
* Copyright (c) 2001 Rafal K. Boni * Copyright (c) 2001 Rafal K. Boni
@ -56,7 +56,7 @@
/* /*
* Definitions for the Dallas Semiconductor DS1286/DS1386 Real Time Clock. * Definitions for the Dallas Semiconductor DS1286/DS1386 Real Time Clock.
* *
* Plucked right from the Dallas Semicomductor specs available at * Plucked right from the Dallas Semiconductor specs available at
* http://pdfserv.maxim-ic.com/arpdf/DS1286.pdf and * http://pdfserv.maxim-ic.com/arpdf/DS1286.pdf and
* http://pdfserv.maxim-ic.com/arpdf/DS1386-DS1386P.pdf * http://pdfserv.maxim-ic.com/arpdf/DS1386-DS1386P.pdf
* *

View File

@ -1,4 +1,4 @@
/* $NetBSD: ds1687reg.h,v 1.11 2018/11/08 06:43:52 msaitoh Exp $ */ /* $NetBSD: ds1687reg.h,v 1.12 2021/10/21 13:21:54 andvar Exp $ */
/* /*
* Copyright (c) 2003 The NetBSD Foundation, Inc. * Copyright (c) 2003 The NetBSD Foundation, Inc.
@ -63,7 +63,7 @@
* DS1287, which in turn is register-compatible with the MC146818 and/or * DS1287, which in turn is register-compatible with the MC146818 and/or
* MC146818A RTCs. * MC146818A RTCs.
* *
* Plucked right from the Dallas Semicomductor specs available at: * Plucked right from the Dallas Semiconductor specs available at:
* http://pdfserv.maxim-ic.com/arpdf/DS1685-DS1687.pdf * http://pdfserv.maxim-ic.com/arpdf/DS1685-DS1687.pdf
* *
* The DS1686 contains 14 basic clock-related registers and 50 bytes of * The DS1686 contains 14 basic clock-related registers and 50 bytes of
@ -104,7 +104,7 @@
* register for Y2k compatibility and memory address/data registers which * register for Y2k compatibility and memory address/data registers which
* allow indirect access to a larger extended user RAM address space. It * allow indirect access to a larger extended user RAM address space. It
* is worth noting that the extended user RAM is distinct from the "basic" * is worth noting that the extended user RAM is distinct from the "basic"
* 114 bytes of user RAM which are accesible in bank 0. * 114 bytes of user RAM which are accessible in bank 0.
*/ */
/* /*

View File

@ -1,4 +1,4 @@
/* $NetBSD: isp.c,v 1.130 2021/09/19 10:34:09 andvar Exp $ */ /* $NetBSD: isp.c,v 1.131 2021/10/21 13:21:54 andvar Exp $ */
/* /*
* Machine and OS Independent (well, as best as possible) * Machine and OS Independent (well, as best as possible)
* code for the Qlogic ISP SCSI adapters. * code for the Qlogic ISP SCSI adapters.
@ -43,7 +43,7 @@
*/ */
#ifdef __NetBSD__ #ifdef __NetBSD__
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: isp.c,v 1.130 2021/09/19 10:34:09 andvar Exp $"); __KERNEL_RCSID(0, "$NetBSD: isp.c,v 1.131 2021/10/21 13:21:54 andvar Exp $");
#include <dev/ic/isp_netbsd.h> #include <dev/ic/isp_netbsd.h>
#endif #endif
#ifdef __FreeBSD__ #ifdef __FreeBSD__
@ -6232,7 +6232,7 @@ isp_parse_status(ispsoftc_t *isp, ispstatusreq_t *sp, XS_T *xs, long *rp)
* isn't an error, per se. * isn't an error, per se.
* *
* Unfortunately, some QLogic f/w writers have, in * Unfortunately, some QLogic f/w writers have, in
* some cases, ommitted to *set* status to QFULL. * some cases, omitted to *set* status to QFULL.
* *
if (*XS_STSP(xs) != SCSI_GOOD && XS_NOERR(xs)) { if (*XS_STSP(xs) != SCSI_GOOD && XS_NOERR(xs)) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: isp_library.c,v 1.8 2019/01/10 09:12:47 martin Exp $ */ /* $NetBSD: isp_library.c,v 1.9 2021/10/21 13:21:54 andvar Exp $ */
/* /*
* Copyright (c) 2006-2007 by Matthew Jacob * Copyright (c) 2006-2007 by Matthew Jacob
* All rights reserved. * All rights reserved.
@ -30,7 +30,7 @@
*/ */
#ifdef __NetBSD__ #ifdef __NetBSD__
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: isp_library.c,v 1.8 2019/01/10 09:12:47 martin Exp $"); __KERNEL_RCSID(0, "$NetBSD: isp_library.c,v 1.9 2021/10/21 13:21:54 andvar Exp $");
#include <dev/ic/isp_netbsd.h> #include <dev/ic/isp_netbsd.h>
#endif #endif
#ifdef __FreeBSD__ #ifdef __FreeBSD__
@ -2266,7 +2266,7 @@ isp_allocate_xs_tgt(ispsoftc_t *isp, void *xs, uint32_t *handlep)
hdp->handle |= (ISP_HANDLE_TARGET << ISP_HANDLE_USAGE_SHIFT); hdp->handle |= (ISP_HANDLE_TARGET << ISP_HANDLE_USAGE_SHIFT);
/* /*
* Target handles for SCSI cards are only 16 bits, so * Target handles for SCSI cards are only 16 bits, so
* sequence number protection will be ommitted. * sequence number protection will be omitted.
*/ */
if (IS_FC(isp)) { if (IS_FC(isp)) {
hdp->handle |= (isp->isp_seqno++ << ISP_HANDLE_SEQ_SHIFT); hdp->handle |= (isp->isp_seqno++ << ISP_HANDLE_SEQ_SHIFT);

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_sip.c,v 1.182 2020/03/16 01:54:23 thorpej Exp $ */ /* $NetBSD: if_sip.c,v 1.183 2021/10/21 13:21:54 andvar Exp $ */
/*- /*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc. * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@ -73,7 +73,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_sip.c,v 1.182 2020/03/16 01:54:23 thorpej Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_sip.c,v 1.183 2021/10/21 13:21:54 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -888,7 +888,7 @@ sipcom_dp83820_attach(struct sip_softc *sc, struct pci_attach_args *pa)
} else { } else {
using64 = "disabled in EEPROM"; using64 = "disabled in EEPROM";
} }
printf("%s: 64-bit slot detected, 64-bit tranfers %s\n", printf("%s: 64-bit slot detected, 64-bit transfers %s\n",
device_xname(sc->sc_dev), using64); device_xname(sc->sc_dev), using64);
} }

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_futex.c,v 1.13 2021/09/28 15:05:42 thorpej Exp $ */ /* $NetBSD: sys_futex.c,v 1.14 2021/10/21 13:21:54 andvar Exp $ */
/*- /*-
* Copyright (c) 2018, 2019, 2020 The NetBSD Foundation, Inc. * Copyright (c) 2018, 2019, 2020 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sys_futex.c,v 1.13 2021/09/28 15:05:42 thorpej Exp $"); __KERNEL_RCSID(0, "$NetBSD: sys_futex.c,v 1.14 2021/10/21 13:21:54 andvar Exp $");
/* /*
* Futexes * Futexes
@ -745,7 +745,7 @@ futex_lookup_create(int *uaddr, bool shared, struct futex **fp)
} }
/* /*
* Create a futex recoard. This tranfers ownership of the key * Create a futex record. This transfers ownership of the key
* in all cases. * in all cases.
*/ */
f = futex_create(&fk, shared); f = futex_create(&fk, shared);

View File

@ -1,4 +1,4 @@
/* $NetBSD: panic_string.c,v 1.2 2020/01/30 07:58:33 kamil Exp $ */ /* $NetBSD: panic_string.c,v 1.3 2021/10/21 13:21:55 andvar Exp $ */
/*- /*-
* Copyright (c) 2018 The NetBSD Foundation, Inc. * Copyright (c) 2018 The NetBSD Foundation, Inc.
@ -28,7 +28,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: panic_string.c,v 1.2 2020/01/30 07:58:33 kamil Exp $"); __KERNEL_RCSID(0, "$NetBSD: panic_string.c,v 1.3 2021/10/21 13:21:55 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h> #include <sys/types.h>
@ -53,7 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: panic_string.c,v 1.2 2020/01/30 07:58:33 kamil Exp $
* *
* Commentary: * Commentary:
* This module manages the device /dev/panic, * This module manages the device /dev/panic,
* tranfers a string from userspace to kernel space * transfers a string from userspace to kernel space
* and calls kernel panic with the passed string. * and calls kernel panic with the passed string.
* *
* echo 'string' > /dev/panic * echo 'string' > /dev/panic

View File

@ -1,4 +1,4 @@
/* $NetBSD: sctp_output.c,v 1.25 2021/09/07 13:24:46 andvar Exp $ */ /* $NetBSD: sctp_output.c,v 1.26 2021/10/21 13:21:55 andvar Exp $ */
/* $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $ */ /* $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $ */
/* /*
@ -30,7 +30,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.25 2021/09/07 13:24:46 andvar Exp $"); __KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.26 2021/10/21 13:21:55 andvar Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_ipsec.h" #include "opt_ipsec.h"
@ -4360,7 +4360,7 @@ sctp_msg_append(struct sctp_tcb *stcb,
chk->send_size = dataout; chk->send_size = dataout;
chk->book_size = chk->send_size; chk->book_size = chk->send_size;
chk->mbcnt = mbcnt; chk->mbcnt = mbcnt;
/* ok, we are commited */ /* ok, we are committed */
if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) { if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) {
/* bump the ssn if we are unordered. */ /* bump the ssn if we are unordered. */
strq->next_sequence_sent++; strq->next_sequence_sent++;
@ -4475,7 +4475,7 @@ sctp_msg_append(struct sctp_tcb *stcb,
* chain of mbufs by going through our temp array * chain of mbufs by going through our temp array
* and breaking the pointers. * and breaking the pointers.
*/ */
/* ok, we are commited */ /* ok, we are committed */
if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) { if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) {
/* bump the ssn if we are unordered. */ /* bump the ssn if we are unordered. */
strq->next_sequence_sent++; strq->next_sequence_sent++;
@ -9577,7 +9577,7 @@ sctp_copy_it_in(struct sctp_inpcb *inp,
/* fix up the send_size if it is not present */ /* fix up the send_size if it is not present */
chk->send_size = tot_out; chk->send_size = tot_out;
chk->book_size = chk->send_size; chk->book_size = chk->send_size;
/* ok, we are commited */ /* ok, we are committed */
if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) { if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) {
/* bump the ssn if we are unordered. */ /* bump the ssn if we are unordered. */
strq->next_sequence_sent++; strq->next_sequence_sent++;

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfsnode.h,v 1.75 2021/07/18 23:57:15 dholland Exp $ */ /* $NetBSD: nfsnode.h,v 1.76 2021/10/21 13:21:55 andvar Exp $ */
/* /*
* Copyright (c) 1989, 1993 * Copyright (c) 1989, 1993
@ -98,7 +98,7 @@ struct nfsnode_spec {
}; };
struct nfsnode_reg { struct nfsnode_reg {
off_t nreg_pushedlo; /* 1st blk in commited range */ off_t nreg_pushedlo; /* 1st blk in committed range */
off_t nreg_pushedhi; /* Last block in range */ off_t nreg_pushedhi; /* Last block in range */
off_t nreg_pushlo; /* 1st block in commit range */ off_t nreg_pushlo; /* 1st block in commit range */
off_t nreg_pushhi; /* Last block in range */ off_t nreg_pushhi; /* Last block in range */

View File

@ -1,4 +1,4 @@
# $NetBSD: t_config.sh,v 1.10 2020/03/09 20:33:16 christos Exp $ # $NetBSD: t_config.sh,v 1.11 2021/10/21 13:21:55 andvar Exp $
# #
# Copyright (c) 2008, 2010 The NetBSD Foundation, Inc. # Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
# All rights reserved. # All rights reserved.
@ -135,7 +135,7 @@ test_case pseudo_parent pass "Checks correct handling of children of pseudo" \
"devices (PR/32329)" "devices (PR/32329)"
test_case postponed_orphan fail "Checks that config catches adding an" \ test_case postponed_orphan fail "Checks that config catches adding an" \
"instance of a child of a negated instance as error" "instance of a child of a negated instance as error"
test_case no_pseudo fail "Checks that config catches ommited 'pseudo-device'" \ test_case no_pseudo fail "Checks that config catches omitted 'pseudo-device'" \
"as error (PR/34111)" "as error (PR/34111)"
test_case deffs_redef fail "Checks that config doesn't allow a deffs to use" \ test_case deffs_redef fail "Checks that config doesn't allow a deffs to use" \
"the same name as a previous defflag/defparam" "the same name as a previous defflag/defparam"

View File

@ -1,4 +1,4 @@
/* $NetBSD: mtrace.c,v 1.42 2019/02/03 03:19:31 mrg Exp $ */ /* $NetBSD: mtrace.c,v 1.43 2021/10/21 13:21:55 andvar Exp $ */
/* /*
* mtrace.c * mtrace.c
@ -52,7 +52,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#ifndef lint #ifndef lint
__RCSID("$NetBSD: mtrace.c,v 1.42 2019/02/03 03:19:31 mrg Exp $"); __RCSID("$NetBSD: mtrace.c,v 1.43 2021/10/21 13:21:55 andvar Exp $");
#endif #endif
#include <sys/types.h> #include <sys/types.h>
@ -1186,7 +1186,7 @@ main(int argc, char **argv)
break; break;
} else } else
goto usage; goto usage;
case 'M': /* Use multicast for reponse */ case 'M': /* Use multicast for response */
multicast = TRUE; multicast = TRUE;
break; break;
case 'l': /* Loop updating stats indefinitely */ case 'l': /* Loop updating stats indefinitely */