summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2023-06-01 20:15:16 +0000
committerandvar <andvar@NetBSD.org>2023-06-01 20:15:16 +0000
commit7d1223f4b54e7be2fb50112f54531b032149a482 (patch)
tree111a71773c2bd320c9ffc48cc0aa1e9307732dfb
parent3f075c13e2c8ce648d8857dc10ba1661b2e3c181 (diff)
fix various typos in comments.
-rw-r--r--games/cribbage/crib.c6
-rw-r--r--sys/arch/hpcsh/dev/pfckbd.c6
-rw-r--r--sys/arch/riscv/conf/GENERIC.common4
-rw-r--r--sys/dev/ic/isp_target.h4
4 files changed, 10 insertions, 10 deletions
diff --git a/games/cribbage/crib.c b/games/cribbage/crib.c
index c3eaa35fce5..8ed791933aa 100644
--- a/games/cribbage/crib.c
+++ b/games/cribbage/crib.c
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#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 --git a/sys/arch/hpcsh/dev/pfckbd.c b/sys/arch/hpcsh/dev/pfckbd.c
index bf35c0f53d3..156ed3dd47f 100644
--- a/sys/arch/hpcsh/dev/pfckbd.c
+++ b/sys/arch/hpcsh/dev/pfckbd.c
@@ -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(struct pfckbd_core *);
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 --git a/sys/arch/riscv/conf/GENERIC.common b/sys/arch/riscv/conf/GENERIC.common
index 5a86bddf649..108bc6096ab 100644
--- a/sys/arch/riscv/conf/GENERIC.common
+++ b/sys/arch/riscv/conf/GENERIC.common
@@ -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 --git a/sys/dev/ic/isp_target.h b/sys/dev/ic/isp_target.h
index e1ef0bab11c..d731da53ee3 100644
--- a/sys/dev/ic/isp_target.h
+++ b/sys/dev/ic/isp_target.h
@@ -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)