From 2fa7e14158d403140e8fb3c233c9e17417a69d87 Mon Sep 17 00:00:00 2001 From: andvar Date: Fri, 8 Apr 2022 10:17:52 +0000 Subject: [PATCH] fix various typos, mainly in comments, but also log messages, docs, game text. --- bin/csh/err.c | 6 +++--- etc/MAKEDEV.tmpl | 4 ++-- games/fortune/datfiles/limerick-o.real | 2 +- games/warp/warp.h | 2 +- lib/libc/arch/aarch64/gen/flt_rounds.c | 8 ++++---- lib/libc/arch/arm/gen/flt_rounds.c | 6 +++--- lib/libc/arch/sh3/gen/flt_rounds.c | 6 +++--- lib/libcurses/screen.c | 6 +++--- .../lib/libc/ieeefp/testfloat/notes/testfloat.txt | 4 ++-- sbin/fsck_v7fs/inode.c | 8 ++++---- sbin/ping6/ping6.c | 6 +++--- sbin/resize_ffs/resize_ffs.c | 6 +++--- sys/arch/acorn32/podulebus/if_ie.c | 6 +++--- sys/arch/epoc32/stand/e32boot/ldd/ekern.h | 2 +- sys/arch/hpcmips/vr/vrc4172pcsreg.h | 4 ++-- sys/arch/hpcmips/vr/vrc4172reg.h | 4 ++-- sys/arch/m68k/fpsp/round.sa | 6 +++--- sys/arch/m68k/fpsp/util.sa | 4 ++-- sys/arch/m68k/fpsp/x_store.sa | 4 ++-- sys/arch/macppc/dev/fcu.c | 6 +++--- sys/arch/mips/alchemy/include/aureg.h | 4 ++-- sys/arch/mips/mips/cache_r3k_subr.S | 4 ++-- sys/arch/mips/mips/cache_r5k_subr.S | 4 ++-- sys/arch/shark/shark/scr.c | 8 ++++---- sys/arch/vax/include/ka650.h | 4 ++-- sys/dev/fdt/dw_apb_uart.c | 8 ++++---- sys/dev/isa/README.seagate | 4 ++-- sys/dev/lockstat.c | 6 +++--- sys/dev/pcmcia/if_xi.c | 6 +++--- sys/kern/kern_sleepq.c | 6 +++--- sys/netinet/sctp_output.c | 12 ++++++------ usr.bin/pr/pr.c | 6 +++--- usr.sbin/edquota/edquota.8 | 4 ++-- usr.sbin/lpr/lpd/lpd.c | 6 +++--- usr.sbin/lpr/lpq/lpq.c | 6 +++--- usr.sbin/sysinst/partman.c | 4 ++-- 36 files changed, 96 insertions(+), 96 deletions(-) diff --git a/bin/csh/err.c b/bin/csh/err.c index 2849c37795c3..d24dd7dcf54f 100644 --- a/bin/csh/err.c +++ b/bin/csh/err.c @@ -1,4 +1,4 @@ -/* $NetBSD: err.c,v 1.24 2021/09/11 20:55:03 christos Exp $ */ +/* $NetBSD: err.c,v 1.25 2022/04/08 10:17:52 andvar Exp $ */ /*- * Copyright (c) 1980, 1991, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: err.c,v 1.24 2021/09/11 20:55:03 christos Exp $"); +__RCSID("$NetBSD: err.c,v 1.25 2022/04/08 10:17:52 andvar Exp $"); #endif #endif /* not lint */ @@ -313,7 +313,7 @@ seterror(int id, ...) * in bname * * This routine always resets or exits. The flag haderr - * is set so the routine who catches the unwind can propogate + * is set so the routine who catches the unwind can propagate * it if they want. * * Note that any open files at the point of error will eventually diff --git a/etc/MAKEDEV.tmpl b/etc/MAKEDEV.tmpl index fe7b76e48bcb..410981c0f194 100644 --- a/etc/MAKEDEV.tmpl +++ b/etc/MAKEDEV.tmpl @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV.tmpl,v 1.228 2021/12/07 17:39:53 brad Exp $ +# $NetBSD: MAKEDEV.tmpl,v 1.229 2022/04/08 10:17:52 andvar Exp $ # # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc. # All rights reserved. @@ -443,7 +443,7 @@ setup() do_update=false opts= while getopts Mfm:p:st:u ch; do - # Note that $opts is only for options pased through to + # Note that $opts is only for options passed through to # MAKEDEV.local, not for all options. case ${ch} in M) diff --git a/games/fortune/datfiles/limerick-o.real b/games/fortune/datfiles/limerick-o.real index 330ada2453b4..41ad8982c25d 100644 --- a/games/fortune/datfiles/limerick-o.real +++ b/games/fortune/datfiles/limerick-o.real @@ -3057,7 +3057,7 @@ Fell in love with a virile young Tartar. And cried: "For that I'll be a martyr!" % There once was a lady named Clair, -Who posessed a magnificent pair. +Who possessed a magnificent pair. Or that's what I thought, Till I saw one get caught, On a thorn and begin losing air. diff --git a/games/warp/warp.h b/games/warp/warp.h index 32ea2e4a441a..b1d037f74491 100644 --- a/games/warp/warp.h +++ b/games/warp/warp.h @@ -55,7 +55,7 @@ #define WARPMACRO "%X/Kbmap.%{TERM}" /* warp library */ -#ifndef WARPLIB /* ~ and %l only ("~%l" is permissable) */ +#ifndef WARPLIB /* ~ and %l only ("~%l" is permissible) */ # ifdef PRIVLIB # define WARPLIB PRIVLIB # else diff --git a/lib/libc/arch/aarch64/gen/flt_rounds.c b/lib/libc/arch/aarch64/gen/flt_rounds.c index 9c59a6ed2e97..4297842da5d2 100644 --- a/lib/libc/arch/aarch64/gen/flt_rounds.c +++ b/lib/libc/arch/aarch64/gen/flt_rounds.c @@ -1,4 +1,4 @@ -/* $NetBSD: flt_rounds.c,v 1.1 2014/08/10 05:47:36 matt Exp $ */ +/* $NetBSD: flt_rounds.c,v 1.2 2022/04/08 10:17:52 andvar Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: flt_rounds.c,v 1.1 2014/08/10 05:47:36 matt Exp $"); +__RCSID("$NetBSD: flt_rounds.c,v 1.2 2022/04/08 10:17:52 andvar Exp $"); #endif /* LIBC_SCCS and not lint */ #include @@ -47,12 +47,12 @@ __RCSID("$NetBSD: flt_rounds.c,v 1.1 2014/08/10 05:47:36 matt Exp $"); * Returns: * 0 - round to zero * 1 - round to nearest - * 2 - round to postive infinity + * 2 - round to positive infinity * 3 - round to negative infinity * * However, the rounding modes stored in the FPCR are: * 0 - round to nearest - * 1 - round to postive infinity + * 1 - round to positive infinity * 2 - round to negative infinity * 3 - round to zero * diff --git a/lib/libc/arch/arm/gen/flt_rounds.c b/lib/libc/arch/arm/gen/flt_rounds.c index f9e6a79ce799..64f6e0292f48 100644 --- a/lib/libc/arch/arm/gen/flt_rounds.c +++ b/lib/libc/arch/arm/gen/flt_rounds.c @@ -1,4 +1,4 @@ -/* $NetBSD: flt_rounds.c,v 1.5 2015/03/19 21:22:59 joerg Exp $ */ +/* $NetBSD: flt_rounds.c,v 1.6 2022/04/08 10:17:52 andvar Exp $ */ /* * Copyright (c) 1996 Mark Brinicombe @@ -33,7 +33,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: flt_rounds.c,v 1.5 2015/03/19 21:22:59 joerg Exp $"); +__RCSID("$NetBSD: flt_rounds.c,v 1.6 2022/04/08 10:17:52 andvar Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -53,7 +53,7 @@ static const int map[] = { * Returns: * 0 - round to zero * 1 - round to nearest - * 2 - round to postive infinity + * 2 - round to positive infinity * 3 - round to negative infinity * * ok all we need to do is get the current FP rounding mode diff --git a/lib/libc/arch/sh3/gen/flt_rounds.c b/lib/libc/arch/sh3/gen/flt_rounds.c index a71aa6a95a61..36163c3e6cd3 100644 --- a/lib/libc/arch/sh3/gen/flt_rounds.c +++ b/lib/libc/arch/sh3/gen/flt_rounds.c @@ -1,4 +1,4 @@ -/* $NetBSD: flt_rounds.c,v 1.7 2017/03/11 01:25:04 chs Exp $ */ +/* $NetBSD: flt_rounds.c,v 1.8 2022/04/08 10:17:52 andvar Exp $ */ /* * Copyright (c) 1996 Mark Brinicombe @@ -33,7 +33,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: flt_rounds.c,v 1.7 2017/03/11 01:25:04 chs Exp $"); +__RCSID("$NetBSD: flt_rounds.c,v 1.8 2022/04/08 10:17:52 andvar Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -53,7 +53,7 @@ static const int map[] = { * Returns: * 0 - round to zero * 1 - round to nearest - * 2 - round to postive infinity + * 2 - round to positive infinity * 3 - round to negative infinity * * ok all we need to do is get the current FP rounding mode diff --git a/lib/libcurses/screen.c b/lib/libcurses/screen.c index 9572d8eaa495..8dcc3011f51f 100644 --- a/lib/libcurses/screen.c +++ b/lib/libcurses/screen.c @@ -1,4 +1,4 @@ -/* $NetBSD: screen.c,v 1.36 2021/09/06 07:03:50 rin Exp $ */ +/* $NetBSD: screen.c,v 1.37 2022/04/08 10:17:52 andvar Exp $ */ /* * Copyright (c) 1981, 1993, 1994 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)screen.c 8.2 (blymn) 11/27/2001"; #else -__RCSID("$NetBSD: screen.c,v 1.36 2021/09/06 07:03:50 rin Exp $"); +__RCSID("$NetBSD: screen.c,v 1.37 2022/04/08 10:17:52 andvar Exp $"); #endif #endif /* not lint */ @@ -152,7 +152,7 @@ newterm(char *type, FILE *outfd, FILE *infd) new_screen->echoit = new_screen->nl = 1; new_screen->pfast = new_screen->rawmode = new_screen->noqch = 0; new_screen->filtered = filtered; - filtered = FALSE; /* filter() must preceed each newterm() */ + filtered = FALSE; /* filter() must precede each newterm() */ new_screen->nca = A_NORMAL; new_screen->color_type = COLOR_NONE; new_screen->COLOR_PAIRS = 0; diff --git a/regress/lib/libc/ieeefp/testfloat/notes/testfloat.txt b/regress/lib/libc/ieeefp/testfloat/notes/testfloat.txt index 6e72c1d89fd3..3c5e837d7bd9 100644 --- a/regress/lib/libc/ieeefp/testfloat/notes/testfloat.txt +++ b/regress/lib/libc/ieeefp/testfloat/notes/testfloat.txt @@ -289,7 +289,7 @@ raise the invalid exception if the source value cannot be rounded to a representable integer of the desired size (32 or 64 bits). If such a conversion overflows, TestFloat expects the largest integer with the same sign as the operand to be returned. If the floating-point operand is a NaN, -TestFloat allows either the largest postive or largest negative integer to +TestFloat allows either the largest positive or largest negative integer to be returned. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -629,7 +629,7 @@ TestFloat assumes that conversions to integer will raise the invalid exception if the source value cannot be rounded to a representable integer. When the conversion overflows, TestFloat expects the largest integer with the same sign as the operand to be returned. If the floating-point operand -is a NaN, TestFloat allows either the largest postive or largest negative +is a NaN, TestFloat allows either the largest positive or largest negative integer to be returned. The current version of TestFloat provides no means to alter these conventions. diff --git a/sbin/fsck_v7fs/inode.c b/sbin/fsck_v7fs/inode.c index 1ffcf22821f6..b06c901ec86c 100644 --- a/sbin/fsck_v7fs/inode.c +++ b/sbin/fsck_v7fs/inode.c @@ -1,4 +1,4 @@ -/* $NetBSD: inode.c,v 1.1 2011/06/27 11:52:58 uch Exp $ */ +/* $NetBSD: inode.c,v 1.2 2022/04/08 10:17:53 andvar Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include #ifndef lint -__RCSID("$NetBSD: inode.c,v 1.1 2011/06/27 11:52:58 uch Exp $"); +__RCSID("$NetBSD: inode.c,v 1.2 2022/04/08 10:17:53 andvar Exp $"); #endif /* not lint */ #include @@ -94,14 +94,14 @@ freeinode_check(struct v7fs_self *fs) return FSCK_EXIT_OK; } -/* Counting freeinode and find partialy allocated inode. */ +/* Counting freeinode and find partially allocated inode. */ static int v7fs_inode_check(struct v7fs_self *fs, struct v7fs_inode *p, v7fs_ino_t ino) { int error = 0; if (v7fs_inode_allocated(p) && !p->nlink) { - pwarn("*** partialy allocated inode #%d", ino); + pwarn("*** partially allocated inode #%d", ino); v7fs_inode_dump(p); if (reply_trivial("REMOVE?")) { memset(p, 0, sizeof(*p)); diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index f379a7c2c3f2..ed48580f7794 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -1,4 +1,4 @@ -/* $NetBSD: ping6.c,v 1.106 2021/06/11 18:47:56 rillig Exp $ */ +/* $NetBSD: ping6.c,v 1.107 2022/04/08 10:17:53 andvar Exp $ */ /* $KAME: ping6.c,v 1.164 2002/11/16 14:05:37 itojun Exp $ */ /* @@ -77,7 +77,7 @@ static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93"; #else #include #ifndef lint -__RCSID("$NetBSD: ping6.c,v 1.106 2021/06/11 18:47:56 rillig Exp $"); +__RCSID("$NetBSD: ping6.c,v 1.107 2022/04/08 10:17:53 andvar Exp $"); #endif #endif @@ -1006,7 +1006,7 @@ doit(u_char *packet, u_int packlen) /* * receive control messages only. Process the - * exceptions (currently the only possiblity is + * exceptions (currently the only possibility is * a path MTU notification.) */ if ((mtu = get_pathmtu(&m)) > 0) { diff --git a/sbin/resize_ffs/resize_ffs.c b/sbin/resize_ffs/resize_ffs.c index 8ad44cf43d0c..49c8e1286ee0 100644 --- a/sbin/resize_ffs/resize_ffs.c +++ b/sbin/resize_ffs/resize_ffs.c @@ -1,4 +1,4 @@ -/* $NetBSD: resize_ffs.c,v 1.55 2020/05/24 14:41:26 jmcneill Exp $ */ +/* $NetBSD: resize_ffs.c,v 1.56 2022/04/08 10:17:53 andvar Exp $ */ /* From sources sent on February 17, 2003 */ /*- * As its sole author, I explicitly place this code in the public @@ -36,7 +36,7 @@ */ #include -__RCSID("$NetBSD: resize_ffs.c,v 1.55 2020/05/24 14:41:26 jmcneill Exp $"); +__RCSID("$NetBSD: resize_ffs.c,v 1.56 2022/04/08 10:17:53 andvar Exp $"); #include #include @@ -1072,7 +1072,7 @@ grow(void) } /* * Call (*fn)() for each inode, passing the inode and its inumber. The - * number of cylinder groups is pased in, so this can be used to map + * number of cylinder groups is passed in, so this can be used to map * over either the old or the new file system's set of inodes. */ static void diff --git a/sys/arch/acorn32/podulebus/if_ie.c b/sys/arch/acorn32/podulebus/if_ie.c index caabe24c024c..0e58ad6d3256 100644 --- a/sys/arch/acorn32/podulebus/if_ie.c +++ b/sys/arch/acorn32/podulebus/if_ie.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ie.c,v 1.51 2021/11/10 16:44:42 msaitoh Exp $ */ +/* $NetBSD: if_ie.c,v 1.52 2022/04/08 10:17:53 andvar Exp $ */ /* * Copyright (c) 1995 Melvin Tang-Richardson. @@ -53,7 +53,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.51 2021/11/10 16:44:42 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.52 2022/04/08 10:17:53 andvar Exp $"); #define IGNORE_ETHER1_IDROM_CHECKSUM @@ -342,7 +342,7 @@ ieattach(device_t parent, device_t self, void *aux) /* Verify the podulebus probe incase RiscOS lied */ if ( ReadByte ( sc->sc_rom + (3<<2) ) != 0x03 ) { - printf(": Ether1 ROM probablly broken. ECID corrupt\n"); + printf(": Ether1 ROM probably broken. ECID corrupt\n"); sc->sc_flags |= IE_BROKEN; return; } diff --git a/sys/arch/epoc32/stand/e32boot/ldd/ekern.h b/sys/arch/epoc32/stand/e32boot/ldd/ekern.h index 8370996e9535..35e2c6d494cf 100644 --- a/sys/arch/epoc32/stand/e32boot/ldd/ekern.h +++ b/sys/arch/epoc32/stand/e32boot/ldd/ekern.h @@ -53,7 +53,7 @@ protected: IMPORT_C virtual void foo6(){}; /* - * DLogicalDevice is probaly derived from CObject as the original Arlo + * DLogicalDevice is probably derived from CObject as the original Arlo * calls SetName from Install */ class DLogicalDevice : public CObject diff --git a/sys/arch/hpcmips/vr/vrc4172pcsreg.h b/sys/arch/hpcmips/vr/vrc4172pcsreg.h index 8b26c0ec8fc9..fc2f83d76d0a 100644 --- a/sys/arch/hpcmips/vr/vrc4172pcsreg.h +++ b/sys/arch/hpcmips/vr/vrc4172pcsreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: vrc4172pcsreg.h,v 1.1 2000/11/11 04:42:09 sato Exp $ */ +/* $NetBSD: vrc4172pcsreg.h,v 1.2 2022/04/08 10:17:53 andvar Exp $ */ /* * Copyright (c) 2000 SATO Kazumi. All rights reserved. @@ -26,7 +26,7 @@ */ /* - * Vrc4172 PCS (Programable Chip Select) Unit Registers. + * Vrc4172 PCS (Programmable Chip Select) Unit Registers. */ #define VRC2_EXCSREG_MAX 0x30 diff --git a/sys/arch/hpcmips/vr/vrc4172reg.h b/sys/arch/hpcmips/vr/vrc4172reg.h index aee7803303cd..b47c9ba7a788 100644 --- a/sys/arch/hpcmips/vr/vrc4172reg.h +++ b/sys/arch/hpcmips/vr/vrc4172reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: vrc4172reg.h,v 1.5 2005/12/11 12:17:34 christos Exp $ */ +/* $NetBSD: vrc4172reg.h,v 1.6 2022/04/08 10:17:53 andvar Exp $ */ /* * Copyright (c) 2000 SATO Kazumi. All rights reserved. @@ -30,7 +30,7 @@ */ #define VRC2_GPIOL_ADDR 0x15001080 /* GPIO (0..15) */ -#define VRC2_PCS_ADDR 0x15001090 /* PCS Programable chip selects */ +#define VRC2_PCS_ADDR 0x15001090 /* PCS Programmable chip selects */ #define VRC2_GPIOH_ADDR 0x150010c0 /* GPIO (16..23) */ #define VRC2_PMU_ADDR 0x15003800 /* PMU */ #define VRC2_ICU_ADDR 0x15003808 /* ICU */ diff --git a/sys/arch/m68k/fpsp/round.sa b/sys/arch/m68k/fpsp/round.sa index 7aed2e4e2db9..12daa51d7791 100644 --- a/sys/arch/m68k/fpsp/round.sa +++ b/sys/arch/m68k/fpsp/round.sa @@ -1,4 +1,4 @@ -* $NetBSD: round.sa,v 1.4 2021/07/31 20:29:37 andvar Exp $ +* $NetBSD: round.sa,v 1.5 2022/04/08 10:17:53 andvar Exp $ * MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP * M68000 Hi-Performance Microprocessor Division @@ -236,7 +236,7 @@ sgl_done: add_ext: addq.l #1,LOCAL_LO(a0) ;add 1 to l-bit bcc.b xcc_clr ;test for carry out - addq.l #1,LOCAL_HI(a0) ;propogate carry + addq.l #1,LOCAL_HI(a0) ;propagate carry bcc.b xcc_clr roxr.w LOCAL_HI(a0) ;mant is 0 so restore v-bit roxr.w LOCAL_HI+2(a0) ;mant is 0 so restore v-bit @@ -255,7 +255,7 @@ add_ext_done: add_dbl: add.l #ad_1_dbl,LOCAL_LO(a0) bcc.b dcc_clr - addq.l #1,LOCAL_HI(a0) ;propogate carry + addq.l #1,LOCAL_HI(a0) ;propagate carry bcc.b dcc_clr roxr.w LOCAL_HI(a0) ;mant is 0 so restore v-bit roxr.w LOCAL_HI+2(a0) ;mant is 0 so restore v-bit diff --git a/sys/arch/m68k/fpsp/util.sa b/sys/arch/m68k/fpsp/util.sa index 144dac98cf6b..d53bae3b5d0a 100644 --- a/sys/arch/m68k/fpsp/util.sa +++ b/sys/arch/m68k/fpsp/util.sa @@ -1,4 +1,4 @@ -* $NetBSD: util.sa,v 1.4 2001/12/09 01:43:13 briggs Exp $ +* $NetBSD: util.sa,v 1.5 2022/04/08 10:17:53 andvar Exp $ * MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP * M68000 Hi-Performance Microprocessor Division @@ -302,7 +302,7 @@ s_rp_neg: bset.b #neg_bit,FPSR_CC(a6) bra.b end_ovfr s_rp_pos: - lea.l EXT_PINF,a1 ;answer is postive infinity + lea.l EXT_PINF,a1 ;answer is positive infinity bset.b #inf_bit,FPSR_CC(a6) bra.b end_ovfr diff --git a/sys/arch/m68k/fpsp/x_store.sa b/sys/arch/m68k/fpsp/x_store.sa index 56210da3d579..11fe857e82b0 100644 --- a/sys/arch/m68k/fpsp/x_store.sa +++ b/sys/arch/m68k/fpsp/x_store.sa @@ -1,4 +1,4 @@ -* $NetBSD: x_store.sa,v 1.4 2001/12/09 01:43:13 briggs Exp $ +* $NetBSD: x_store.sa,v 1.5 2022/04/08 10:17:53 andvar Exp $ * MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP * M68000 Hi-Performance Microprocessor Division @@ -163,7 +163,7 @@ dest_dbl: swap d0 ;d0 now in upper word lsl.l #4,d0 ;d0 now in proper place for dbl prec exp tst.b LOCAL_SGN(a1) - beq.b get_mant ;if postive, go process mantissa + beq.b get_mant ;if positive, go process mantissa bset.l #31,d0 ;if negative, put in sign information * ; before continuing bra.b get_mant ;go process mantissa diff --git a/sys/arch/macppc/dev/fcu.c b/sys/arch/macppc/dev/fcu.c index 21979eeeb839..3f404c0390d1 100644 --- a/sys/arch/macppc/dev/fcu.c +++ b/sys/arch/macppc/dev/fcu.c @@ -1,4 +1,4 @@ -/* $NetBSD: fcu.c,v 1.4 2021/07/30 22:07:14 macallan Exp $ */ +/* $NetBSD: fcu.c,v 1.5 2022/04/08 10:17:53 andvar Exp $ */ /*- * Copyright (c) 2018 Michael Lorenz @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fcu.c,v 1.4 2021/07/30 22:07:14 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fcu.c,v 1.5 2022/04/08 10:17:53 andvar Exp $"); #include #include @@ -503,7 +503,7 @@ fcu_adjust(void *cookie) for (i = 0; i < FCU_ZONE_COUNT; i++) fancontrol_adjust_zone(&sc->sc_zones[i]); /* - * take a shorter nap if we're in the proccess of adjusting a + * take a shorter nap if we're in the process of adjusting a * PWM fan, which relies on measuring speed and then changing * its duty cycle until we're reasonable close to the target * speed diff --git a/sys/arch/mips/alchemy/include/aureg.h b/sys/arch/mips/alchemy/include/aureg.h index 845842c38ffd..8385cb6c1013 100644 --- a/sys/arch/mips/alchemy/include/aureg.h +++ b/sys/arch/mips/alchemy/include/aureg.h @@ -1,4 +1,4 @@ -/* $NetBSD: aureg.h,v 1.19 2021/08/17 22:00:30 andvar Exp $ */ +/* $NetBSD: aureg.h,v 1.20 2022/04/08 10:17:54 andvar Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. @@ -130,7 +130,7 @@ */ /************************************************************************/ -/************* Programable Serial Controller registers **************/ +/************* Programmable Serial Controller registers **************/ /************************************************************************/ #define PSC0_BASE 0x11A00000 diff --git a/sys/arch/mips/mips/cache_r3k_subr.S b/sys/arch/mips/mips/cache_r3k_subr.S index b610610803dc..0c2d62f83e1c 100644 --- a/sys/arch/mips/mips/cache_r3k_subr.S +++ b/sys/arch/mips/mips/cache_r3k_subr.S @@ -1,4 +1,4 @@ -/* $NetBSD: cache_r3k_subr.S,v 1.5 2009/12/14 00:46:05 matt Exp $ */ +/* $NetBSD: cache_r3k_subr.S,v 1.6 2022/04/08 10:17:54 andvar Exp $ */ /* * Copyright (c) 1992, 1993 @@ -8,7 +8,7 @@ * Digital Equipment Corporation and Ralph Campbell. * * Redistribution and use in source and binary forms, with or without - * modification, are permited provided that the following conditions + * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. diff --git a/sys/arch/mips/mips/cache_r5k_subr.S b/sys/arch/mips/mips/cache_r5k_subr.S index 024896e69076..7f34a335e851 100644 --- a/sys/arch/mips/mips/cache_r5k_subr.S +++ b/sys/arch/mips/mips/cache_r5k_subr.S @@ -1,8 +1,8 @@ -/* $NetBSD: cache_r5k_subr.S,v 1.4 2020/06/14 15:12:56 tsutsui Exp $ */ +/* $NetBSD: cache_r5k_subr.S,v 1.5 2022/04/08 10:17:54 andvar Exp $ */ /* * Redistribution and use in source and binary forms, with or without - * modification, are permited provided that the following conditions + * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. diff --git a/sys/arch/shark/shark/scr.c b/sys/arch/shark/shark/scr.c index 8a87c402a526..7bc3341fd4a8 100644 --- a/sys/arch/shark/shark/scr.c +++ b/sys/arch/shark/shark/scr.c @@ -1,4 +1,4 @@ -/* $NetBSD: scr.c,v 1.34 2021/12/05 08:03:07 msaitoh Exp $ */ +/* $NetBSD: scr.c,v 1.35 2022/04/08 10:17:54 andvar Exp $ */ /* * Copyright 1997 @@ -102,7 +102,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.34 2021/12/05 08:03:07 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.35 2022/04/08 10:17:54 andvar Exp $"); #include "opt_ddb.h" @@ -662,8 +662,8 @@ const struct cdevsw scr_cdevsw = { ** scrProbe ** ** This is the probe routine for the Smart Card. Because the -** Smart Card is hard wired, there is no probing to peform. The -** function ensures that a successfull problem occurs only once. +** Smart Card is hard wired, there is no probing to perform. The +** function ensures that a successful problem occurs only once. ** ** FORMAL PARAMETERS: ** diff --git a/sys/arch/vax/include/ka650.h b/sys/arch/vax/include/ka650.h index 60973ced3395..e3932803e83b 100644 --- a/sys/arch/vax/include/ka650.h +++ b/sys/arch/vax/include/ka650.h @@ -1,4 +1,4 @@ -/* $NetBSD: ka650.h,v 1.12 2005/12/11 12:19:34 christos Exp $ */ +/* $NetBSD: ka650.h,v 1.13 2022/04/08 10:17:54 andvar Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. * All rights reserved. @@ -179,7 +179,7 @@ struct ka650_ssc { #define CBTCR_RWT 0x40000000 /* CDAL Bus Timeout on CPU or DMA */ /* - * TCR0/TCR1: Programable Timer Control Registers (ssc_tcr[01]) + * TCR0/TCR1: Programmable Timer Control Registers (ssc_tcr[01]) * (The rest of the bits are the same as in the standard VAX * Interval timer and are defined in clock.h) */ diff --git a/sys/dev/fdt/dw_apb_uart.c b/sys/dev/fdt/dw_apb_uart.c index 56702677e3ed..bbe1e21269cd 100644 --- a/sys/dev/fdt/dw_apb_uart.c +++ b/sys/dev/fdt/dw_apb_uart.c @@ -1,4 +1,4 @@ -/* $NetBSD: dw_apb_uart.c,v 1.11 2021/11/12 21:57:44 jmcneill Exp $ */ +/* $NetBSD: dw_apb_uart.c,v 1.12 2022/04/08 10:17:54 andvar Exp $ */ /*- * Copyright (c) 2017 Jared McNeill @@ -28,7 +28,7 @@ #include -__KERNEL_RCSID(1, "$NetBSD: dw_apb_uart.c,v 1.11 2021/11/12 21:57:44 jmcneill Exp $"); +__KERNEL_RCSID(1, "$NetBSD: dw_apb_uart.c,v 1.12 2022/04/08 10:17:54 andvar Exp $"); #include #include @@ -95,7 +95,7 @@ dw_apb_uart_attach(device_t parent, device_t self, void *aux) reg_shift = 2; } if (of_getprop_uint32(phandle, "reg-io-width", ®_iowidth)) { - /* missing or bad reg-io-width propery, assume 1 */ + /* missing or bad reg-io-width property, assume 1 */ reg_iowidth = 1; } @@ -183,7 +183,7 @@ dw_apb_uart_console_consinit(struct fdt_attach_args *faa, u_int uart_freq) reg_shift = 2; } if (of_getprop_uint32(phandle, "reg-io-width", ®_iowidth)) { - /* missing or bad reg-io-width propery, assume 1 */ + /* missing or bad reg-io-width property, assume 1 */ reg_iowidth = 1; } diff --git a/sys/dev/isa/README.seagate b/sys/dev/isa/README.seagate index 01c3751e6efd..bff6cda094d4 100644 --- a/sys/dev/isa/README.seagate +++ b/sys/dev/isa/README.seagate @@ -1,4 +1,4 @@ -# $NetBSD: README.seagate,v 1.7 2021/07/24 21:31:37 andvar Exp $ +# $NetBSD: README.seagate,v 1.8 2022/04/08 10:17:54 andvar Exp $ The hardware: @@ -26,7 +26,7 @@ A scsi command is sent to scsi_cmd function. The command is either placed in the queue or an retryable message is returned. The routine may wait for completion of the command depending on the supplied flags. A timer is started for every command placed in the queue. The commands are added in the order they -are received. There is a possiblity to make all REQUEST SENSE commands be +are received. There is a possibility to make all REQUEST SENSE commands be queued before all other commands, but I dont think it is a good thing (Linux do however use this). diff --git a/sys/dev/lockstat.c b/sys/dev/lockstat.c index 7eb138239d98..846e1fb8ef93 100644 --- a/sys/dev/lockstat.c +++ b/sys/dev/lockstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: lockstat.c,v 1.29 2022/02/27 14:16:32 riastradh Exp $ */ +/* $NetBSD: lockstat.c,v 1.30 2022/04/08 10:17:54 andvar Exp $ */ /*- * Copyright (c) 2006, 2007, 2019 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.29 2022/02/27 14:16:32 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.30 2022/04/08 10:17:54 andvar Exp $"); #include #include @@ -374,7 +374,7 @@ lockstat_free(void) } /* - * Main entry point from lock primatives. + * Main entry point from lock primitives. */ void lockstat_event(uintptr_t lock, uintptr_t callsite, u_int flags, u_int count, diff --git a/sys/dev/pcmcia/if_xi.c b/sys/dev/pcmcia/if_xi.c index 94601017b1ac..e846f70304f9 100644 --- a/sys/dev/pcmcia/if_xi.c +++ b/sys/dev/pcmcia/if_xi.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_xi.c,v 1.94 2020/02/02 05:56:42 thorpej Exp $ */ +/* $NetBSD: if_xi.c,v 1.95 2022/04/08 10:17:54 andvar Exp $ */ /* OpenBSD: if_xe.c,v 1.9 1999/09/16 11:28:42 niklas Exp */ /* @@ -55,7 +55,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_xi.c,v 1.94 2020/02/02 05:56:42 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_xi.c,v 1.95 2022/04/08 10:17:54 andvar Exp $"); #include "opt_inet.h" @@ -1113,7 +1113,7 @@ xi_full_reset(struct xi_softc *sc) /* Set the local memory dividing line. */ if (sc->sc_rev != 1) { PAGE(sc, 2); - /* XXX Symbolic constant preferrable. */ + /* XXX Symbolic constant preferable. */ bus_space_write_2(bst, bsh, RBS0, 0x2000); } diff --git a/sys/kern/kern_sleepq.c b/sys/kern/kern_sleepq.c index 524808af7f99..9cc05651e9d6 100644 --- a/sys/kern/kern_sleepq.c +++ b/sys/kern/kern_sleepq.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_sleepq.c,v 1.70 2022/01/01 12:00:01 msaitoh Exp $ */ +/* $NetBSD: kern_sleepq.c,v 1.71 2022/04/08 10:17:55 andvar Exp $ */ /*- * Copyright (c) 2006, 2007, 2008, 2009, 2019, 2020 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_sleepq.c,v 1.70 2022/01/01 12:00:01 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_sleepq.c,v 1.71 2022/04/08 10:17:55 andvar Exp $"); #include #include @@ -528,7 +528,7 @@ sleepq_abort(kmutex_t *mtx, int unlock) /* * sleepq_reinsert: * - * Move the possition of the lwp in the sleep queue after a possible + * Move the position of the lwp in the sleep queue after a possible * change of the lwp's effective priority. */ static void diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index 83fa28bc0dc2..9557bd73d8ed 100644 --- a/sys/netinet/sctp_output.c +++ b/sys/netinet/sctp_output.c @@ -1,4 +1,4 @@ -/* $NetBSD: sctp_output.c,v 1.28 2021/12/05 04:56:40 msaitoh Exp $ */ +/* $NetBSD: sctp_output.c,v 1.29 2022/04/08 10:17:55 andvar Exp $ */ /* $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $ */ /* @@ -30,7 +30,7 @@ * SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.28 2021/12/05 04:56:40 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.29 2022/04/08 10:17:55 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_ipsec.h" @@ -743,7 +743,7 @@ sctp_choose_v4_boundspecific_stcb(struct sctp_inpcb *inp, */ #ifdef SCTP_DEBUG if (sctp_debug_on & SCTP_DEBUG_OUTPUT1) { - printf("Have a STCB - no asconf allowed, not bound all have a postive list\n"); + printf("Have a STCB - no asconf allowed, not bound all have a positive list\n"); } #endif /* First look at all addresses for one that is on @@ -1280,7 +1280,7 @@ sctp_choose_v6_boundspecific_stcb(struct sctp_inpcb *inp, * Each endpoint has a list of local addresses associated * with it. The address list is either a "negative list" i.e. * those addresses that are NOT allowed to be used as a source OR - * a "postive list" i.e. those addresses that CAN be used. + * a "positive list" i.e. those addresses that CAN be used. * * Its a negative list if asconf is allowed. What we do * in this case is use the ep address list BUT we have @@ -1394,7 +1394,7 @@ sctp_choose_v6_boundspecific_stcb(struct sctp_inpcb *inp, } else { #ifdef SCTP_DEBUG if (sctp_debug_on & SCTP_DEBUG_OUTPUT1) { - printf("Have a STCB - no asconf allowed, not bound all have a postive list\n"); + printf("Have a STCB - no asconf allowed, not bound all have a positive list\n"); } #endif /* First try for interface output match */ @@ -4008,7 +4008,7 @@ sctp_prepare_chunk(struct sctp_tmit_chunk *template, /* If: * Peer supports PR-SCTP * The flags is set against this send for PR-SCTP - * And timetolive is a postive value, zero is reserved + * And timetolive is a positive value, zero is reserved * to mean a reliable send for both buffer/time * related one. */ diff --git a/usr.bin/pr/pr.c b/usr.bin/pr/pr.c index 3eedc47fe3b9..af2e7fcc18c4 100644 --- a/usr.bin/pr/pr.c +++ b/usr.bin/pr/pr.c @@ -1,4 +1,4 @@ -/* $NetBSD: pr.c,v 1.25 2021/12/05 08:03:07 msaitoh Exp $ */ +/* $NetBSD: pr.c,v 1.26 2022/04/08 10:17:55 andvar Exp $ */ /*- * Copyright (c) 1991 Keith Muller. @@ -45,7 +45,7 @@ __COPYRIGHT("@(#) Copyright (c) 1993\ #if 0 from: static char sccsid[] = "@(#)pr.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: pr.c,v 1.25 2021/12/05 08:03:07 msaitoh Exp $"); +__RCSID("$NetBSD: pr.c,v 1.26 2022/04/08 10:17:55 andvar Exp $"); #endif #endif /* not lint */ @@ -1020,7 +1020,7 @@ out: * inf: file * buf: buffer * lim: buffer length - * cps: column positon 1st char in buffer (large line support) + * cps: column position 1st char in buffer (large line support) * trnc: throw away data more than lim up to \n * mor: set if more data in line (not truncated) */ diff --git a/usr.sbin/edquota/edquota.8 b/usr.sbin/edquota/edquota.8 index 245d95658ffb..465f62a23aac 100644 --- a/usr.sbin/edquota/edquota.8 +++ b/usr.sbin/edquota/edquota.8 @@ -29,7 +29,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)edquota.8 8.2 (Berkeley) 4/27/95 -.\" $NetBSD: edquota.8,v 1.16 2012/02/13 19:53:25 dholland Exp $ +.\" $NetBSD: edquota.8,v 1.17 2022/04/08 10:17:55 andvar Exp $ .\" .Dd January 29, 2012 .Dt EDQUOTA 8 @@ -105,7 +105,7 @@ specifies otherwise. .Pp The quotas may then be modified, new quotas added, etc. Setting a quota to \- or unlimited indicates that no quota should be imposed. -Setting a quota to zero indicates that no allocation is permited. +Setting a quota to zero indicates that no allocation is permitted. Setting a soft limit to zero with a unlimited hard limit indicates that allocations should be permitted on only a temporary basis. The current usage information in the file is for informational purposes; diff --git a/usr.sbin/lpr/lpd/lpd.c b/usr.sbin/lpr/lpd/lpd.c index a0fd77493ac1..b8295abd3c96 100644 --- a/usr.sbin/lpr/lpd/lpd.c +++ b/usr.sbin/lpr/lpd/lpd.c @@ -1,4 +1,4 @@ -/* $NetBSD: lpd.c,v 1.58 2017/05/04 16:26:09 sevan Exp $ */ +/* $NetBSD: lpd.c,v 1.59 2022/04/08 10:17:55 andvar Exp $ */ /* * Copyright (c) 1983, 1993, 1994 @@ -41,7 +41,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993, 1994\ #if 0 static char sccsid[] = "@(#)lpd.c 8.7 (Berkeley) 5/10/95"; #else -__RCSID("$NetBSD: lpd.c,v 1.58 2017/05/04 16:26:09 sevan Exp $"); +__RCSID("$NetBSD: lpd.c,v 1.59 2022/04/08 10:17:55 andvar Exp $"); #endif #endif /* not lint */ @@ -194,7 +194,7 @@ main(int argc, char **argv) case 'w': wait_time = atoi(optarg); if (wait_time < 0) - errx(1, "wait time must be postive: %s", + errx(1, "wait time must be positive: %s", optarg); if (wait_time < 30) warnx("warning: wait time less than 30 seconds"); diff --git a/usr.sbin/lpr/lpq/lpq.c b/usr.sbin/lpr/lpq/lpq.c index 7d2c711fe90c..e1c61298357a 100644 --- a/usr.sbin/lpr/lpq/lpq.c +++ b/usr.sbin/lpr/lpq/lpq.c @@ -1,4 +1,4 @@ -/* $NetBSD: lpq.c,v 1.19 2008/10/22 07:59:43 mishka Exp $ */ +/* $NetBSD: lpq.c,v 1.20 2022/04/08 10:17:55 andvar Exp $ */ /* * Copyright (c) 1983, 1993 @@ -37,7 +37,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\ #if 0 static char sccsid[] = "@(#)lpq.c 8.3 (Berkeley) 5/10/95"; #else -__RCSID("$NetBSD: lpq.c,v 1.19 2008/10/22 07:59:43 mishka Exp $"); +__RCSID("$NetBSD: lpq.c,v 1.20 2022/04/08 10:17:55 andvar Exp $"); #endif #endif /* not lint */ @@ -103,7 +103,7 @@ main(int argc, char *argv[]) case 'w': wait_time = atoi(optarg); if (wait_time < 0) - errx(1, "wait time must be postive: %s", + errx(1, "wait time must be positive: %s", optarg); if (wait_time < 30) warnx("warning: wait time less than 30 seconds"); diff --git a/usr.sbin/sysinst/partman.c b/usr.sbin/sysinst/partman.c index 965692dcaf57..9af8b2d0723b 100644 --- a/usr.sbin/sysinst/partman.c +++ b/usr.sbin/sysinst/partman.c @@ -1,4 +1,4 @@ -/* $NetBSD: partman.c,v 1.54 2021/11/06 06:40:33 msaitoh Exp $ */ +/* $NetBSD: partman.c,v 1.55 2022/04/08 10:17:55 andvar Exp $ */ /* * Copyright 2012 Eugene Lozovoy @@ -457,7 +457,7 @@ pm_manage_getfreenode(void *node, const char *d, structinfo_t *s) /* * Show a line for a device, usually with full size in the right * column, alternatively (if != NULL) with no_size_display - * instead in paranthesis (used for error displays or to note + * instead in parentheses (used for error displays or to note * a action that can be done to this device. */ static void