Module Name: src
Committed By: andvar
Date: Thu Apr 21 21:31:11 UTC 2022
Modified Files:
src/sys/arch/atari/include: pmap.h
src/sys/dev/microcode/siop: ncr53cxxx.c
src/sys/kern: sys_sig.c
Log Message:
s/substract/subtract/ in comments and error message.
s/obtainted/obtained/ in one comment.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/atari/include/pmap.h
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/microcode/siop/ncr53cxxx.c
cvs rdiff -u -r1.55 -r1.56 src/sys/kern/sys_sig.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/atari/include/pmap.h
diff -u src/sys/arch/atari/include/pmap.h:1.41 src/sys/arch/atari/include/pmap.h:1.42
--- src/sys/arch/atari/include/pmap.h:1.41 Sun Dec 6 06:41:29 2009
+++ src/sys/arch/atari/include/pmap.h Thu Apr 21 21:31:11 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.41 2009/12/06 06:41:29 tsutsui Exp $ */
+/* $NetBSD: pmap.h,v 1.42 2022/04/21 21:31:11 andvar Exp $ */
/*
* Copyright (c) 1991 Regents of the University of California.
@@ -95,10 +95,10 @@ struct memseg {
/*
* Memory segment descriptors.
* - boot_segs
- * describes the segments obtainted from the bootcode.
+ * describes the segments obtained from the bootcode.
* - usable_segs
* describes the segments available after system requirements are
- * substracted (reserved pages, etc...).
+ * subtracted (reserved pages, etc...).
*/
extern struct memseg boot_segs[NMEM_SEGS];
extern struct memseg usable_segs[NMEM_SEGS];
Index: src/sys/dev/microcode/siop/ncr53cxxx.c
diff -u src/sys/dev/microcode/siop/ncr53cxxx.c:1.16 src/sys/dev/microcode/siop/ncr53cxxx.c:1.17
--- src/sys/dev/microcode/siop/ncr53cxxx.c:1.16 Wed Oct 21 23:53:38 2009
+++ src/sys/dev/microcode/siop/ncr53cxxx.c Thu Apr 21 21:31:11 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: ncr53cxxx.c,v 1.16 2009/10/21 23:53:38 snj Exp $ */
+/* $NetBSD: ncr53cxxx.c,v 1.17 2022/04/21 21:31:11 andvar Exp $ */
/*
* Copyright (c) 1995,1999 Michael L. Hitch
@@ -28,7 +28,7 @@
/* ncr53cxxx.c - SCSI SCRIPTS Assembler */
#include <sys/cdefs.h>
-__RCSID("$NetBSD: ncr53cxxx.c,v 1.16 2009/10/21 23:53:38 snj Exp $");
+__RCSID("$NetBSD: ncr53cxxx.c,v 1.17 2022/04/21 21:31:11 andvar Exp $");
#include <stdio.h>
#include <stdlib.h>
@@ -413,7 +413,7 @@ main (int argc, char *argv[])
if (outfp) {
time_t cur_time;
- fprintf(outfp, "/*\t$NetBSD: ncr53cxxx.c,v 1.16 2009/10/21 23:53:38 snj Exp $\t*/\n");
+ fprintf(outfp, "/*\t$NetBSD: ncr53cxxx.c,v 1.17 2022/04/21 21:31:11 andvar Exp $\t*/\n");
fprintf(outfp, "/*\n");
fprintf(outfp, " *\tDO NOT EDIT - this file is automatically generated.\n");
time(&cur_time);
@@ -1386,7 +1386,7 @@ fprintf (listfp, "Move data to register:
if (arch < ARCH825)
errout("wrong arch for add with SFBR");
if (op == 8)
- errout("can't substract SFBR");
+ errout("can't subtract SFBR");
inst0 |= 0x00800000;
data = 0;
} else
Index: src/sys/kern/sys_sig.c
diff -u src/sys/kern/sys_sig.c:1.55 src/sys/kern/sys_sig.c:1.56
--- src/sys/kern/sys_sig.c:1.55 Sun Nov 7 01:51:56 2021
+++ src/sys/kern/sys_sig.c Thu Apr 21 21:31:11 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_sig.c,v 1.55 2021/11/07 01:51:56 thorpej Exp $ */
+/* $NetBSD: sys_sig.c,v 1.56 2022/04/21 21:31:11 andvar Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.55 2021/11/07 01:51:56 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.56 2022/04/21 21:31:11 andvar Exp $");
#include "opt_dtrace.h"
@@ -838,7 +838,7 @@ sigtimedwait1(struct lwp *l, const struc
/* Compute how much time has passed since start. */
timespecsub(&tsnow, &tsstart, &tsnow);
- /* Substract passed time from timeout. */
+ /* Subtract passed time from timeout. */
timespecsub(&ts, &tsnow, &ts);
if (ts.tv_sec < 0)