Source-Changes-HG archive

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

[src/trunk]: src fix various typos in comments.



details:   https://anonhg.NetBSD.org/src/rev/dd3efa49e14a
branches:  trunk
changeset: 376109:dd3efa49e14a
user:      andvar <andvar%NetBSD.org@localhost>
date:      Thu Jun 01 20:15:16 2023 +0000

description:
fix various typos in comments.

diffstat:

 games/cribbage/crib.c              |  6 +++---
 sys/arch/hpcsh/dev/pfckbd.c        |  6 +++---
 sys/arch/riscv/conf/GENERIC.common |  4 ++--
 sys/dev/ic/isp_target.h            |  4 ++--
 4 files changed, 10 insertions(+), 10 deletions(-)

diffs (91 lines):

diff -r 108b2b3b3792 -r dd3efa49e14a games/cribbage/crib.c
--- a/games/cribbage/crib.c     Thu Jun 01 13:04:47 2023 +0000
+++ b/games/cribbage/crib.c     Thu Jun 01 20:15:16 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crib.c,v 1.26 2023/01/06 17:13:46 christos Exp $       */
+/*     $NetBSD: crib.c,v 1.27 2023/06/01 20:15:16 andvar Exp $ */
 
 /*-
  * Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)crib.c     8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: crib.c,v 1.26 2023/01/06 17:13:46 christos Exp $");
+__RCSID("$NetBSD: crib.c,v 1.27 2023/06/01 20:15:16 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -493,7 +493,7 @@ peg(BOOLEAN mycrib)
                prhand(ph, pnum, Playwin, FALSE);
                prhand(ch, cnum, Compwin, TRUE);
                prtable(sum);
-               if (myturn) {   /* my tyrn to play */
+               if (myturn) {   /* my turn to play */
                        if (!anymove(ch, cnum, sum)) {  /* if no card to play */
                                if (!mego && cnum) {    /* go for comp? */
                                        msg("GO");
diff -r 108b2b3b3792 -r dd3efa49e14a sys/arch/hpcsh/dev/pfckbd.c
--- a/sys/arch/hpcsh/dev/pfckbd.c       Thu Jun 01 13:04:47 2023 +0000
+++ b/sys/arch/hpcsh/dev/pfckbd.c       Thu Jun 01 20:15:16 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pfckbd.c,v 1.32 2021/08/07 16:18:54 thorpej Exp $      */
+/*     $NetBSD: pfckbd.c,v 1.33 2023/06/01 20:15:16 andvar Exp $       */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  * currently, HP Jornada 680/690, HITACHI PERSONA HPW-50PAD only.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pfckbd.c,v 1.32 2021/08/07 16:18:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pfckbd.c,v 1.33 2023/06/01 20:15:16 andvar Exp $");
 
 #include "debug_hpcsh.h"
 
@@ -90,7 +90,7 @@ static void pfckbd_callout_hitachi(struc
 void pfckbd_poll_hitachi_power(void);
 
 
-/* callout function table. this function is platfrom specific. */
+/* callout function table. this function is platform specific. */
 static const struct {
        platid_mask_t *platform;
        void (*func)(struct pfckbd_core *);
diff -r 108b2b3b3792 -r dd3efa49e14a sys/arch/riscv/conf/GENERIC.common
--- a/sys/arch/riscv/conf/GENERIC.common        Thu Jun 01 13:04:47 2023 +0000
+++ b/sys/arch/riscv/conf/GENERIC.common        Thu Jun 01 20:15:16 2023 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: GENERIC.common,v 1.2 2023/05/08 07:52:55 skrll Exp $
+#      $NetBSD: GENERIC.common,v 1.3 2023/06/01 20:15:16 andvar Exp $
 #
 #      GENERIC common RISC-V kernel config items shared between 32 and 64
 #      kernels
@@ -128,7 +128,7 @@ intc*               at cpu? pass 1
 # Core-level Interupt Control block
 #clint0                at fdt? pass 2
 
-# Platfrom-Level Interrupt Controller
+# Platform-Level Interrupt Controller
 plic*          at fdt? pass 2
 
 # Clocks
diff -r 108b2b3b3792 -r dd3efa49e14a sys/dev/ic/isp_target.h
--- a/sys/dev/ic/isp_target.h   Thu Jun 01 13:04:47 2023 +0000
+++ b/sys/dev/ic/isp_target.h   Thu Jun 01 20:15:16 2023 +0000
@@ -1,4 +1,4 @@
--/* $NetBSD: isp_target.h,v 1.26 2009/06/25 23:44:02 mjacob Exp $ */
+-/* $NetBSD: isp_target.h,v 1.27 2023/06/01 20:15:16 andvar Exp $ */
 /*-
  *  Copyright (c) 1997-2008 by Matthew Jacob
  *  All rights reserved.
@@ -90,7 +90,7 @@ typedef struct isp_notify {
     if (isp->isp_dblev & ISP_LOGTDEBUG2) isp_print_qentry(isp, msg, idx, arg)
 
 /*
- * Special Constatns
+ * Special Constants
  */
 #define INI_ANY                        ((uint64_t) -1)
 #define VALID_INI(ini)         (ini != INI_NONE && ini != INI_ANY)



Home | Main Index | Thread Index | Old Index