Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern s/substract/subtract/ in comments and error message.



details:   https://anonhg.NetBSD.org/src/rev/1200122eae0c
branches:  trunk
changeset: 365734:1200122eae0c
user:      andvar <andvar%NetBSD.org@localhost>
date:      Thu Apr 21 21:31:11 2022 +0000

description:
s/substract/subtract/ in comments and error message.
s/obtainted/obtained/ in one comment.

diffstat:

 sys/arch/atari/include/pmap.h      |  6 +++---
 sys/dev/microcode/siop/ncr53cxxx.c |  8 ++++----
 sys/kern/sys_sig.c                 |  6 +++---
 3 files changed, 10 insertions(+), 10 deletions(-)

diffs (85 lines):

diff -r e4b8615e68ff -r 1200122eae0c sys/arch/atari/include/pmap.h
--- a/sys/arch/atari/include/pmap.h     Thu Apr 21 21:22:25 2022 +0000
+++ b/sys/arch/atari/include/pmap.h     Thu Apr 21 21:31:11 2022 +0000
@@ -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 @@
 /*
  * 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];
diff -r e4b8615e68ff -r 1200122eae0c sys/dev/microcode/siop/ncr53cxxx.c
--- a/sys/dev/microcode/siop/ncr53cxxx.c        Thu Apr 21 21:22:25 2022 +0000
+++ b/sys/dev/microcode/siop/ncr53cxxx.c        Thu Apr 21 21:31:11 2022 +0000
@@ -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 @@
        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 @@
                                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
diff -r e4b8615e68ff -r 1200122eae0c sys/kern/sys_sig.c
--- a/sys/kern/sys_sig.c        Thu Apr 21 21:22:25 2022 +0000
+++ b/sys/kern/sys_sig.c        Thu Apr 21 21:31:11 2022 +0000
@@ -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 @@
                /* 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)



Home | Main Index | Thread Index | Old Index